nextjs-postgres-auth-starter icon indicating copy to clipboard operation
nextjs-postgres-auth-starter copied to clipboard

Issues utilizing "Use Client" "useEffect" etc.

Open Fr3akyMurk opened this issue 1 year ago • 0 comments

Hello, I am currently facing an issue with migration, i made a small app to act as a suggestion, tip or feature "jar" but just now wanted to add auth, however my app utilizes "use client" "useState" and "useEffect" however each time i use any of these, i immediately get errors from postgressql (is what i assume) but the actual error points to FS for some reason.

This only happens on pages that are actively being "protected" how do i avoid encountering this issue whilst still maintaining the features of my application?

Fr3akyMurk avatar Jan 23 '24 08:01 Fr3akyMurk