Skip to content

Commit

Permalink
Merge pull request #195 from ConductionNL/Feature/XW-127/api-changes
Browse files Browse the repository at this point in the history
Feature/XW-127/api-changes
  • Loading branch information
remko48 authored Nov 29, 2023
2 parents 9df1fa6 + 2a2529d commit 2ab6d89
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 2ab6d89

Please sign in to comment.