-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling themeChange doesn't change the theme #37
Comments
The toggle doesn't even react to the update of |
Can you please provide an example repo? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The toggle component works fine but after a user login, I can't set the theme because changing the value(what I update from a store) only changes the toggle's state:
In this case, the site will be still dark when a different component changes isDarkMode to false when it was true by default.
The text was updated successfully, but these errors were encountered: