Hydration Error Related to Theme Switching
Closed this issue · 1 comments
jasonhendrix commented
Steps to recreate the issue on Firefox 132.0.1:
- Load the app as usual and it will default to dark mode
- Click the moon icon to switch to light mode
- Refresh the browser
- A Hydration error occurs
This is due to the issue described here:
https://github.com/pacocoursey/next-themes?tab=readme-ov-file#avoid-hydration-mismatch