Next.js Discord

Discord Forum

No matter what I put on layout.tsx in app router, I get the hydration error.

Answered
Northeast Congo Lion posted this in #help-forum
Open in Discord
Northeast Congo LionOP
Whenever I put anything on the layout.tsx file in the app router, i keep getting the hydration error.
Why does this happen?
Answered by Rafael Almeida
this is invalid HTML, you can't have this text outside the body tag
View full answer

3 Replies

Northeast Congo LionOP
this is invalid HTML, you can't have this text outside the body tag
Answer
Northeast Congo LionOP
im so dumb bro thanks