Content pfp
Content
@
0 reply
0 recast
0 reaction

Tayyab - d/acc pfp
Tayyab - d/acc
@tayyab
How does one add Providers in a next.js `app` structure application? This whole pattern seems a bit much.
1 reply
0 recast
1 reaction

typeof.eth πŸ”΅ pfp
typeof.eth πŸ”΅
@typeof.eth
You can add them to the root layout component.
1 reply
0 recast
0 reaction

Tayyab - d/acc pfp
Tayyab - d/acc
@tayyab
Root layout is a server component, most providers don’t work there. Figured it out though lol
2 replies
0 recast
0 reaction

typeof.eth πŸ”΅ pfp
typeof.eth πŸ”΅
@typeof.eth
Yeah, you have to create your providers separately (good practice either way), but server components can import client components. I’m guessing that’s what you did?
1 reply
0 recast
0 reaction

Tayyab - d/acc pfp
Tayyab - d/acc
@tayyab
Haha yes, I’m not as familiar with it’s the new β€˜app’ structure
1 reply
0 recast
1 reaction