Next.js Discord

Discord Forum

suppressHydrationWarning not helping...

Answered
American black bear posted this in #help-forum
Open in Discord
American black bearOP
I already using suppressHydrationWarning on html and it keep saying:
Warning: Extra attributes from the server: data-theme,style
what should i do?
i am using too next-themes
Answered by American black bear
i just put suppressHydrationWarning={true} on main layout
View full answer

17 Replies

Extra attributes isn't hydration errors @American black bear
It's usually from your browser extensions
American black bearOP
oh
i dont really know
but
this what i have
even on user mode it keep saying it
oh
fixed
American black bearOP
i just put suppressHydrationWarning={true} on main layout
Answer
American black bearOP
cuz i have (Dash) layout
@American black bear Click to see attachment
Just to check, can you like try on incognito
American black bearOP
this what i did
lol
Kk