diff options
Diffstat (limited to 'src/routes/+layout.ts')
| -rw-r--r-- | src/routes/+layout.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/+layout.ts b/src/routes/+layout.ts index 56a0cc14..b2b71c26 100644 --- a/src/routes/+layout.ts +++ b/src/routes/+layout.ts @@ -21,7 +21,7 @@ export const load = async ({ data }) => { setCookie("theme", theme, 21000000); - if (theme === "dark") setTimeout(() => themeStore.set(theme), 100); + if (theme === "dark") setTimeout(() => themeStore.set(theme!), 100); } } |
