@ -20,7 +20,7 @@
classes.remove("hidden");
} else {
classes.add("hidden");
classes.adremoved("block");
classes.remove("block");
}
@ -32,7 +32,7 @@
document.cookie = "theme=light";
if (theme == "light") setLight();
else if (theme == "dark") setDark();
if (theme == "dark") setDark();
});
</script>
@ -1,4 +1,5 @@
<script>
// @ts-nocheck
import ThemeSwitcher from "$lib/ThemeSwitcher.svelte";
import Button from "./Button.svelte";