signOut TypeError Cannot read properties of null (reading 'user') -- Next.js
Hey all, I am following the quick start guide from Supabase. I made the logout button on my sidebar.
When I use signOut on the "/" path, I can log out immediately.
But when I signOut on the "/profile" path I created, I get the error in screenshot 1
Code in comments
When I use signOut on the "/" path, I can log out immediately.
But when I signOut on the "/profile" path I created, I get the error in screenshot 1
Code in comments
