1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00

fix: CLARITY_ID and CLARITY_CONSENT variables are baked in on build time

This commit is contained in:
2024-08-21 12:12:29 +00:00
parent a217d0a96a
commit 4d1662b6ee
6 changed files with 31 additions and 19 deletions
-1
View File
@@ -10,7 +10,6 @@ const RevokeConsentButton: React.FC = () =>
useEffect(() =>
{
console.log("getCookieChoice", getCookieChoice());
setHasConsent(getCookieChoice() === "accepted");
}, []);