mirror of
https://github.com/XFox111/my-website.git
synced 2026-04-22 07:28:01 +03:00
feat!: site refresh + dependency update
This commit is contained in:
@@ -10,6 +10,7 @@ const RevokeConsentButton: React.FC = () =>
|
||||
|
||||
useEffect(() =>
|
||||
{
|
||||
// eslint-disable-next-line react-hooks/set-state-in-effect
|
||||
setHasConsent(getCookieChoice() === "accepted");
|
||||
}, []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user