From 55380429f7e8ae7e1b8320740338b54525e0b72c Mon Sep 17 00:00:00 2001 From: Steve Tu Date: Thu, 13 Apr 2023 08:41:54 -0700 Subject: [PATCH] Fix dark mode not being on by default --- src/App.tsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index a3e416db..ddd253f3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -11,13 +11,6 @@ import StartHelper from "./helpers/StartHelper" import { Icon } from "@iconify/react" const App = () => { - const [colorScheme, setColorScheme] = useLocalStorage({ - key: "mantine-color-scheme", - defaultValue: "light", - getInitialValueInEffect: true, - }) - const toggleColorScheme = (value?: ColorScheme) => setColorScheme(value || (colorScheme === "dark" ? "light" : "dark")) - // Check if an application update is available on GitHub. useEffect(() => { // Warn that the application's env is still set to development. @@ -105,8 +98,8 @@ const App = () => { } return ( - - + "dark"}> +