You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which immediately gives hydration errors. So I guess React doesn't like <section> being a child of <html> which, in almost all cases it will be (man I hate React enforcing semantic correctness of HTML, so dumb imo). So I guess the root element for the Toaster should be changed to something like a div.
The text was updated successfully, but these errors were encountered:
Basically, I'm trying to add Sonner to my Layout in Next.js:
Which immediately gives hydration errors. So I guess React doesn't like
<section>
being a child of<html>
which, in almost all cases it will be (man I hate React enforcing semantic correctness of HTML, so dumb imo). So I guess the root element for theToaster
should be changed to something like adiv
.The text was updated successfully, but these errors were encountered: