How to structure layout.tsx with multiple providers/components you want to render

hello, currently i have a t3 app with trpc and I have multiple layouts clerk, chakra, and trpc. in my main root layout.tsx i also want to render a sidebar. I have tried multiple ways creating a help client-layout.tsx. the issue im getting is a "[cause]: SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON" in vercel logs im assuming because of how the layouts i have work. also this error only started showing up once i split up the two layouts when i went to integrate my sidebar.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server