Can't use a component in the root Layout
Answered
Expensiveee posted this in #help-forum
Original message was deleted.
9 Replies
![Avatar](https://cdn.discordapp.com/avatars/349610823343407105/c15532be9dcd0f38e004825eb37e5f16.webp?size=256)
Expensiveee
![Image](https://cdn.discordapp.com/attachments/1202361914202804305/1202362210018656317/image.png?ex=65cd2e11&is=65bab911&hm=bfaaf3270b60892043e6bcd3f616eaa7d0b259ead5b6efe2d4b8efff2db706e8&)
![Image](https://cdn.discordapp.com/attachments/1202361914202804305/1202362243480830105/image.png?ex=65cd2e19&is=65bab919&hm=fcfc050be5657b8a21d93f6684feeb589b2d78baf72b9579cdbb14e33ed7626c&)
These being the errors
But when I put the navbar in a page.tsx, it works
![Avatar](https://cdn.discordapp.com/avatars/743561772069421169/3c5d689eee4459a24fc420063411c016.webp?size=256)
Ray
move
Navbar
inside the body tagAnswer
![Avatar](https://cdn.discordapp.com/avatars/349610823343407105/c15532be9dcd0f38e004825eb37e5f16.webp?size=256)
Expensiveee
Omg...
This is just embarassing
Thank you and sorry 💀
![Avatar](https://cdn.discordapp.com/avatars/743561772069421169/3c5d689eee4459a24fc420063411c016.webp?size=256)
Ray
no worries