Skip to content

Commit

Permalink
Fix useEffect dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriyyakym committed Jan 24, 2025
1 parent f737d7a commit a31565c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function VanillaCookieConsent({ cookieStatement }: Props) {
registerUpdatePreferencesCallback(() => {
CookieConsent.showPreferences();
});
});
}, [registerUpdatePreferencesCallback]);

return null;
}

0 comments on commit a31565c

Please sign in to comment.