Open GuilhermeCF10 opened 1 year ago
Same here I have this error and have tried many ways to do it but it doesn't work
Hi! I tried to replicate this issue on StackBlitz, but it appears to work fine. Can you confirm that this issue is indeed caused by react-hot-toast?
same for me here @kikohz
I can confirm that I am experiencing the same issue, and it appears to be originating from react-hot-toast.
same issue here.
+1
Likewise here
Edit
I moved my Toaster component around in my root layout until it stopped throwing this error, for me having it just below the starting <body>
tag seemed to fix this.
So in this case, when it comes in the layout Toaster, it gives this error:
Unhandled Runtime Error Error: Hydration failed because the initial UI does not match what was rendered on the server.
See more info here: https://nextjs.org/docs/messages/react-hydration-error