MCPcopy Create free account
hub / github.com/0010aor/FlashNotes / handleLogout

Function handleLogout

frontend/src/components/commonUI/Drawer.tsx:72–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 const handleNavigate = () => setIsOpen(false)
71
72 const handleLogout = async () => {
73 logout()
74 setIsOpen(false)
75 navigate({ to: '/' })
76 }
77
78 return (
79 <DrawerRoot open={isOpen} onOpenChange={(e) => setIsOpen(e.open)} placement="end">

Callers

nothing calls this directly

Calls 1

logoutFunction · 0.85

Tested by

no test coverage detected