From e22f8b140d4fbc153a7bbdd82b83f53c0385a4bd Mon Sep 17 00:00:00 2001 From: Kwaroran Date: Sun, 23 Mar 2025 16:21:36 +0900 Subject: [PATCH] Add state --- src/App.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.svelte b/src/App.svelte index 1060ba13..42cd7634 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -22,7 +22,7 @@ let didFirstSetup: boolean = $derived(DBState.db?.didFirstSetup) let gridOpen = $state(false) - let aprilFools = new Date().getMonth() === 3 && new Date().getDate() === 1 + let aprilFools = $state(new Date().getMonth() === 3 && new Date().getDate() === 1) let aprilFoolsPage = $state(0)