Skip to content

Commit

Permalink
reload bug
Browse files Browse the repository at this point in the history
  • Loading branch information
remko48 committed Nov 29, 2023
1 parent 44da9b3 commit 2a2529d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ export const ThemeSwitcherTopBar: React.FC = () => {
React.useEffect(() => {
if (!watchTheme) return;

if (window.sessionStorage.getItem("SHOW_THEME_SWITCHER") !== "true") return;

navigate("/");

initiateFromJSON(watchTheme.value);
Expand Down

0 comments on commit 2a2529d

Please sign in to comment.