fix: lint issues

This commit is contained in:
Sagnik Pradhan
2021-10-19 14:46:18 -04:00
committed by Jean-Philippe Sirois
parent c81d9246c4
commit 975ccaa7b6
+2 -2
View File
@@ -51,7 +51,7 @@ const ThemeProvider: FC<IScopedDownChildren> = ({ children }) => {
prefersLightTheme.onchange = null
}
}
}, [])
}, [localTheme])
const contextValue = useMemo(
() => ({
@@ -63,7 +63,7 @@ const ThemeProvider: FC<IScopedDownChildren> = ({ children }) => {
setLocalTheme(newTheme)
},
}),
[theme, setTheme]
[theme, setTheme, setLocalTheme]
)
return (