You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which one has higher priority, localStorage or defaultTheme? When theme===dark in localstorage and defaultTheme====light, defaultTheme does not take effect
I need to get the custom theme from the query
first, I change the theme dark, then the localStorage theme is dark
second, https:xxx.com/?theme=light, I get the theme from query, then <ThemeProvider defaultTheme={query.theme}>xxx</ThemeProvider>
defaultTheme not work
Version
0.3.0
What browsers are you seeing the problem on?
Chrome
The text was updated successfully, but these errors were encountered:
What happened?
Which one has higher priority, localStorage or defaultTheme? When theme===dark in localstorage and defaultTheme====light, defaultTheme does not take effect
I need to get the custom theme from the query
first, I change the theme dark, then the localStorage theme is dark
second, https:xxx.com/?theme=light, I get the theme from query, then
<ThemeProvider defaultTheme={query.theme}>xxx</ThemeProvider>
defaultTheme not work
Version
0.3.0
What browsers are you seeing the problem on?
Chrome
The text was updated successfully, but these errors were encountered: