working backend version

This commit is contained in:
keyan 2021-11-08 14:07:37 -06:00
parent 1229bd5d5e
commit 20b3a5af63
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ function ThemeProviderWrapper ({ children }) {
const me = useMe()
console.log(me)
return (
<ThemeProvider theme={me?.theme === 'light' ? lightTheme : darkTheme}>
<ThemeProvider theme={!me || me?.theme === 'light' ? lightTheme : darkTheme}>
{children}
</ThemeProvider>
)