mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-12 18:43:50 +00:00
fix(#93): update logic to display consent when needed
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
onMount(() => {
|
||||
if (!cookiesAccepted) {
|
||||
const storedValue = localStorage.getItem('cookiesAccepted');
|
||||
showBanner = storedValue !== 'true';
|
||||
showBanner = storedValue === null;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user