fix: cookie modal not being shown for new users

This commit is contained in:
Miodec 2024-09-01 16:35:30 +02:00
parent cc00295a5d
commit 8ddb23ac40

View file

@ -16,10 +16,7 @@ type Accepted = z.infer<typeof AcceptedSchema>;
const acceptedCookiesLS = new LocalStorageWithSchema({
key: "acceptedCookies",
schema: AcceptedSchema,
fallback: {
security: false,
analytics: false,
},
fallback: undefined,
});
function setAcceptedObject(obj: Accepted): void {