Error: `headers` was called outside a request scope
Unanswered
Canada Warbler posted this in #help-forum
Canada WarblerOP
Hello again, Im trying to get the session user from next-auth, and most of my pages doent allow me to as some of the errors Ive gotten were about how I cant call it in a client component, I tried to use useContext to pass it from the root layout but it failed, and now Im getting this error :/
1 Reply
Canada WarblerOP
nvm I found a work around