working backend version
This commit is contained in:
parent
1229bd5d5e
commit
20b3a5af63
|
@ -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>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue