diff --git a/src/App.svelte b/src/App.svelte index aa755b043..513c9b4a9 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -59,7 +59,7 @@ } }); - $: document.documentElement.setAttribute("data-theme", $theme); + $effect(() => document.documentElement.setAttribute("data-theme", $theme)); {#if $activeRouteStore.resource === "booting"} diff --git a/src/components/Avatar.svelte b/src/components/Avatar.svelte index 7819ff642..e866252a4 100644 --- a/src/components/Avatar.svelte +++ b/src/components/Avatar.svelte @@ -1,7 +1,11 @@ - +