You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a layout with client components with a menu car on the left side and user account on the right.
When I sign out with the button calling a server action.
Called action export async function signOut() { await auth.signOut({ redirectTo: '/', redirect: true }); }
The client component the had the logout button is updated to show logged out, but the client componnt on the left is not updated to show user is signout out
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I have a layout with client components with a menu car on the left side and user account on the right.
When I sign out with the button calling a server action.
`<form
action={async () => {
await actions.signOut();
`
Called action
export async function signOut() { await auth.signOut({ redirectTo: '/', redirect: true }); }
The client component the had the logout button is updated to show logged out, but the client componnt on the left is not updated to show user is signout out
Beta Was this translation helpful? Give feedback.
All reactions