Content pfp
Content
@
0 reply
0 recast
0 reaction

Thomas Humphreys pfp
Thomas Humphreys
@so
When wrapping the privy provider in NextJS (w/ app router), I'm getting hydration errors that only disappear when I comment out the privy provider. The @privy docs only use NextJS (w/ pages router) as examples. Any suggested fixes?
4 replies
0 recast
2 reactions

Thomas Humphreys pfp
Thomas Humphreys
@so
final reso: this is a bug on privy's side. If you set the logo to an empty string, the hydration errors will appear. If you remove the logo object altogether, the errors are gone. Nothing I can do 🤷‍♂️ - pls fix @privy
0 reply
0 recast
1 reaction

Thomas Humphreys pfp
Thomas Humphreys
@so
NB: I've checked https://docs.privy.io/guide/react/troubleshooting/frameworks/nextjs
0 reply
0 recast
0 reaction

Johanna 🎩  pfp
Johanna 🎩
@johanna
I think it might be because of the 'logo', try removing it or adding it to a logo state that is only being rendered when component has mounted
0 reply
0 recast
1 reaction

D pfp
D
@dabangarang
Hey @so thanks for the flag on this! Our team is looking into this, and we’re following up in the analogous thread in the developer support slack. We do support app-router integrations, as well as logo specifications, so we’re digging into why this is affecting you in this way.
0 reply
0 recast
0 reaction