diff --git a/app/static/js/themeSwitcher.vue b/app/static/js/themeSwitcher.vue index cd166ef..1a07ae1 100644 --- a/app/static/js/themeSwitcher.vue +++ b/app/static/js/themeSwitcher.vue @@ -19,10 +19,9 @@ library.add(faMoon, faSun); import { useColorMode } from "@vueuse/core"; -const { store: theme } = useColorMode({ +const theme = useColorMode({ attribute: "data-bs-theme", storageKey: "theme", - initialValue: "auto", }); function toggleTheme() {