Skip to content

Commit

Permalink
Fix error with useEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
dbelokon committed Feb 1, 2022
1 parent 8234a1b commit d4407d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const App = ({ Component, pageProps }: AppProps) => {
if (jssStyles) {
jssStyles.parentElement?.removeChild(jssStyles);
}
});
}, []);

// Switch the active theme, and also store it for next load
const toggleTheme = () => {
Expand Down

0 comments on commit d4407d2

Please sign in to comment.