ui icon indicating copy to clipboard operation
ui copied to clipboard

Error occurred during hydration when using <Toaster /> in layout.tsx

Open mauriciocrecencio opened this issue 1 year ago • 3 comments

The Toast functionality is operating correctly, but certain errors are appearing in the console. Upon removing <Toaster /> from layout.tsx, the errors cease.

CleanShot 2024-02-03 at 12 19 52 image

mauriciocrecencio avatar Feb 03 '24 15:02 mauriciocrecencio

the toster should be inside the body tag

shomriddho avatar Feb 03 '24 16:02 shomriddho

the toster should be inside the body tag

My bad, thanks for helping, it works!!

mauriciocrecencio avatar Feb 03 '24 16:02 mauriciocrecencio

the toster should be inside the body tag

I was having the same problem, this solution worked very well. Thanks.

maik-emanoel avatar Feb 13 '24 17:02 maik-emanoel

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

shadcn avatar Jun 03 '24 23:06 shadcn