This commit is contained in:
Sacha Weatherstone
2022-02-23 14:14:33 +11:00
parent 3b85422ab2
commit 4cf326661f
54 changed files with 403 additions and 255 deletions
+2 -2
View File
@@ -13,10 +13,10 @@ import { NotFound } from '@pages/NotFound';
export const App = (): JSX.Element => {
const route = useRoute();
const darkMode = useAppSelector((state) => state.app.darkMode);
const appState = useAppSelector((state) => state.app);
return (
<div className={`h-screen w-screen ${darkMode ? 'dark' : ''}`}>
<div className={`h-screen w-screen ${appState.darkMode ? 'dark' : ''}`}>
<ContextMenu>
<Connection />
<div className="flex h-full flex-col bg-gray-200 dark:bg-secondaryDark">