Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
function useSignOut(): { signOut: () => Promise<void>; };
{ signOut: () => Promise<void>; }
signOut()
Promise
void
function SignOutButton() { const { signOut } = useSignOut(); const navigate = useNavigate(); const handleSignOut = async () => { try { await signOut(); navigate("/sign-in"); } catch (error) { console.error("Failed to sign out:", error); } }; return ( <button onClick={handleSignOut}> Sign Out </button> ); }
Was this page helpful?