aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/+layout.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-26 20:54:49 -0800
committerAdam Soltys <[email protected]>2024-11-26 20:54:49 -0800
commitdd49cb5e8754ee82fb2370b375db6b46a1eefd52 (patch)
tree4d505c5b7c3f137b56c84cfaca12ed486aa4972c /src/routes/+layout.svelte
parentcc87c080af91c50a8f3f945353938fa14771647b (diff)
downloadcoinos-ui-dd49cb5e8754ee82fb2370b375db6b46a1eefd52.tar.gz
coinos-ui-dd49cb5e8754ee82fb2370b375db6b46a1eefd52.zip
warnings
Diffstat (limited to 'src/routes/+layout.svelte')
-rw-r--r--src/routes/+layout.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index e7baa137..7cb90195 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -10,7 +10,7 @@
let { data, children } = $props();
let { pathname, theme } = $state(data);
- $themeStore = theme;
+ $themeStore = data.theme;
$effect(() => (theme = $themeStore));
let host = PUBLIC_DOMAIN.includes("localhost")