Skip to content

Commit 87671bd

Browse files
ChengaDevclaude
andcommitted
Remove remaining setConsent call in CookieBanner
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3d0fc52 commit 87671bd

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/components/CookieBanner.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ const CookieBanner = () => {
2323
if (stored === 'granted' || stored === 'denied') {
2424
// Re-apply saved choice on every page load so Consent Mode is always in sync
2525
updateGoogleConsent(stored)
26-
setConsent(stored)
2726
} else {
2827
// No prior choice — show banner
2928
setVisible(true)

0 commit comments

Comments
 (0)