Next.js Discord

Discord Forum

I don't even have a browser extension installed

Answered
Ozy posted this in #help-forum
Open in Discord
Avatar
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
Image
Answered by joulev
you use next-themes right?

put suppressHydrationWarning on <html>
View full answer

9 Replies

Avatar
you use next-themes right?

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