Skip to content

Commit

Permalink
Updated with the latest code.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlabaj committed Nov 21, 2024
1 parent e2b795b commit 6454019
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export const SideNavLayout = ({ children, groupedRoutes, navOpen: navOpenProp })
};

const [isDarkTheme, setIsDarkTheme] = React.useState(
getLocalStorageDarkMode() === null ? mediaQuery().matches : getLocalStorageDarkMode() === 'true';
getLocalStorageDarkMode() === null ? mediaQuery().matches : getLocalStorageDarkMode() === 'true'
);

const toggleDarkTheme = (darkThemeEnabled) => {
Expand Down

0 comments on commit 6454019

Please sign in to comment.