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

Error Hydration failed because the initial UI does not match what was rendered on the server. #1

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

Comments

@stone89son
Copy link

Unhandled Runtime Error
Error: Hydration failed because the initial UI does not match what was rendered on the server.

Warning: Expected server HTML to contain a matching in .

See more info here: https://nextjs.org/docs/messages/react-hydration-error

Component Stack
path
svg
MoonFilledIcon
./components/icons.tsx (112:11)
div
label
ThemeSwitch
./components/theme-switch.tsx (19:11)
ul
eval
./node_modules/@nextui-org/navbar/dist/chunk-PSG7VTZC.mjs (20:11)
header

abc

@nikohann
Copy link
Contributor

Just change the moon icon to another

@jrgarciadev
Copy link
Member

Fixed

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

3 participants