quick hotfixes

pull/2/head
Midnight 3 years ago
parent 7718d3162e
commit 1f66e1ce63

@ -20,7 +20,7 @@
classes.remove("hidden"); classes.remove("hidden");
} else { } else {
classes.add("hidden"); classes.add("hidden");
classes.adremoved("block"); classes.remove("block");
} }
} }

@ -32,7 +32,7 @@
document.cookie = "theme=light"; document.cookie = "theme=light";
} else { } else {
if (theme == "light") setLight(); if (theme == "light") setLight();
else if (theme == "dark") setDark(); if (theme == "dark") setDark();
} }
}); });
</script> </script>

@ -1,4 +1,5 @@
<script> <script>
// @ts-nocheck
import ThemeSwitcher from "$lib/ThemeSwitcher.svelte"; import ThemeSwitcher from "$lib/ThemeSwitcher.svelte";
import Button from "./Button.svelte"; import Button from "./Button.svelte";

Loading…
Cancel
Save