Open GFialho opened 3 weeks ago
Hi GFialho, have you tried add 'use client' on top of your FarcastProvider.tsx
file?
If the question still exists, check the app/api/auth/[...nextauth]/route.ts
file. See if the createAppClient, viemConnector
are imported from @farcaster/auth-kit
. If they are, import them from @farcaster/auth-client
.
I hope these could resolve the problem for you.
I am trying to implement AuthKitProvider on NextJs 14.2.4 but I'm having this error when adding AuthKitProvider:
TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_2__.createContext) is not a function
This is my code:
And I am adding it on may layout.tsx