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

Dark/Light Toggle Theme State NOT Persistent #34

Closed
bealecs opened this issue Jun 17, 2023 · 2 comments
Closed

Dark/Light Toggle Theme State NOT Persistent #34

bealecs opened this issue Jun 17, 2023 · 2 comments

Comments

@bealecs
Copy link
Collaborator

bealecs commented Jun 17, 2023

When running the app locally, the theme persists just fine between light and dark mode when switching links to different routes via the navigation bar. However, when running the build on Netlify, the state is not persistent when clicking to another route.

See NextJS 13 app router docs for Layout.tsx documentation. Layouts

@bealecs
Copy link
Collaborator Author

bealecs commented Jun 20, 2023

This appears to be a known issue on GitHub

See here

Going to leave this open for now and keep looking for workaround solutions

@bealecs
Copy link
Collaborator Author

bealecs commented Jun 20, 2023

See PR #32 SOLVED

@bealecs bealecs closed this as completed Jun 20, 2023
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