Add state

This commit is contained in:
Kwaroran
2025-03-23 16:21:36 +09:00
parent 30936c76e3
commit e22f8b140d

View File

@@ -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)
</script>