Next.js Discord

Discord Forum

I don't even have a browser extension installed

Answered
Ozy posted this in #help-forum
Open in Discord
OzyOP
Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used
Answered by joulev
you use next-themes right?

put suppressHydrationWarning on <html>
View full answer

9 Replies

Answer
OzyOP
ys i am using
either <html> or <body>, i don't remember exactly which, but one of them should work
OzyOP
will try
still same
its fixed nvm
sorry
i belive next themes mantioned putting it on html itself