diff --git a/src/stores/theme.ts b/src/stores/theme.ts index 301138f4..44e96232 100644 --- a/src/stores/theme.ts +++ b/src/stores/theme.ts @@ -19,7 +19,9 @@ export const useThemeStore = defineStore("theme", () => { mute: true, }); - activatedTheme.value = data; + if (data) { + activatedTheme.value = data; + } } catch (e) { console.error("Failed to fetch active theme", e); }