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

Bug: Icon Theme Hydration Mismatch with SSG or SSR #24

Open
pportella23 opened this issue Nov 26, 2023 · 0 comments
Open

Bug: Icon Theme Hydration Mismatch with SSG or SSR #24

pportella23 opened this issue Nov 26, 2023 · 0 comments

Comments

@pportella23
Copy link

Hi, I noticed a bug with the conditional rendering of the theme switch icons. When opening (or reloading) the page an error appears in the console complaining about a hydration error. Furthermore, it's showing the Moon icon in the dark theme, when it should be the sun (because the button is used to switch themes).

hydration-error-info

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