fix(#93): update logic to display consent when needed

This commit is contained in:
OllyNicholass
2024-11-19 21:01:45 +00:00
parent 10b5747016
commit acfdb75767
+1 -1
View File
@@ -9,7 +9,7 @@
onMount(() => {
if (!cookiesAccepted) {
const storedValue = localStorage.getItem('cookiesAccepted');
showBanner = storedValue !== 'true';
showBanner = storedValue === null;
}
});