Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
2 replies
george

Next Auth + Next13 error

Error: [next-auth]: useSession must be wrapped in a <SessionProvider />

I get this error in the console when I want to wrap myApp component.

I'm using Nexta13 and I'm not entirely sure if my folders are well organized. Maybe the error is due to this? Could you take a peek?

Yes, I know that there are redundant properties in several places (e.g. header), but I'm trying all methods to fix it
image.png
image.png
image.png
Was this page helpful?