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
2 Replies
deforestor
deforestor2y ago
That's strange, have you tried using it on the page rather than the header component?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server