1
0
Fork 0

chore(org): Linter fixes

This commit is contained in:
joostdecock 2023-05-20 14:38:09 +02:00
parent 4a5b80afe4
commit e027d560f8

View file

@ -39,7 +39,7 @@ export const PageWrapper = (props) => {
* This forces a re-render upon initial bootstrap of the app
* This is needed to avoid hydration errors because theme can't be set reliably in SSR
*/
const [theme, setTheme] = useTheme()
//const [theme, setTheme] = useTheme()
const [currentTheme, setCurrentTheme] = useState()
const [navupdates, setNavupdates] = useState(0)
useEffect(() => setCurrentTheme(theme), [currentTheme, theme])