Skip to content

Commit

Permalink
Allow to change from dark to light mode without refresh
Browse files Browse the repository at this point in the history
Fixes #3544
  • Loading branch information
CarolineDenis committed Jun 8, 2023
1 parent a2f3c08 commit b49a0cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export function SetCssVariables(): null {
),
}),
// eslint-disable-next-line react-hooks/exhaustive-deps
[version]
[version, darkMode]
);

const scaleTarget = prefs.scaleUi ? document.documentElement : document.body;
Expand Down

0 comments on commit b49a0cc

Please sign in to comment.