MCPcopy Create free account
hub / github.com/cursor/community-plugins / handleSignOut

Function handleSignOut

apps/cursor/src/components/user-menu.tsx:69–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 }, [pathname]);
68
69 const handleSignOut = async () => {
70 await supabase.auth.signOut();
71 setUser(null);
72 };
73
74 if (isLoading) {
75 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected