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

Solve "Warning: Extra attributes from the server: class" error #294

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

or-schneider
Copy link
Contributor

  • Suppress theme's hydration warning in the root
  • Remove root body

Gotta remove one since Nextjs doesn't like it when there's more than one and will error if there's any props on any of the bodies
Gotta be the root , cause the locale must have a as a child

as for the , need the locale since it can have a lang prop with the actual locale, unlike the root for which locale is undefined

The first error is no more
chrome_mwRWYxaVo3

Suppressing theme's hydration warning in the root <html>
Removing root body
Copy link

vercel bot commented Jun 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
maakaf-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2024 11:18pm

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

Successfully merging this pull request may close these issues.

1 participant