diff options
| author | Adam Soltys <[email protected]> | 2024-12-06 12:04:12 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-12-06 12:04:12 -0800 |
| commit | bca22e1741dd86cec7a136d5b42d136cef2c64dc (patch) | |
| tree | 89b802fd9882eca1e2acf0d757b994854255622c /src/routes/+layout.svelte | |
| parent | f193c6d18f839a9068e80c07589c66620b8ee84b (diff) | |
| download | coinos-ui-bca22e1741dd86cec7a136d5b42d136cef2c64dc.tar.gz coinos-ui-bca22e1741dd86cec7a136d5b42d136cef2c64dc.zip | |
fix homepage jank
Diffstat (limited to 'src/routes/+layout.svelte')
| -rw-r--r-- | src/routes/+layout.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 7cb90195..d25f570a 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 = data.theme; + $effect(() => ($themeStore = data.theme)); $effect(() => (theme = $themeStore)); let host = PUBLIC_DOMAIN.includes("localhost") |
