Skip to content
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

Settings stored in localStorage are not utilized #45

Open
burtonr opened this issue Oct 29, 2023 · 0 comments
Open

Settings stored in localStorage are not utilized #45

burtonr opened this issue Oct 29, 2023 · 0 comments

Comments

@burtonr
Copy link
Owner

burtonr commented Oct 29, 2023

The "darkMode" and "groupMode" values are stored in localStorage so that the settings are reused when the app reloads.

However, these settings are not respected when loading the app. Adding console.log statements in the places where these settings are read, the log shows the default store value, then shows the updated state. The second log shows the proper setting, but the app is not re-rendered to use those settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant