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
Sign-out now clears the user without a page refresh (#985, #986). useSignOut used to refetch /auth/me. That request answers 401 once signed out, and a failed read keeps the cached data, so useUser() went on returning the old user until a refresh. It now writes null to /auth/me directly.
useSignOut({}) (no onSuccess) no longer throws, and a throwing onSuccess can't leave the user on screen: the callback runs last.
Upgrade notes
useSignOut no longer makes a /auth/me request after signing out; the cached user becomes null directly.