Next.js Discord

Discord Forum

Why do I see signed out user's data after user signed out?

Unanswered
Rohu posted this in #help-forum
Open in Discord
RohuOP
Hi,

I have a table and it contains user's data. If a user signed out, the table should not show the user's data.

However, after a user signed out, the user's data is still there, and if I refresh the page, it disappears.

After user Signed out, I use route.refresh(). How can I fix this?

1 Reply

RohuOP
Oh, I'm using Supabase for the auth, and I'm using it as the server-side auth, and the table is client component.