MCPcopy Create free account
hub / github.com/enowdev/enowX-Coder / handleDeleteSession

Function handleDeleteSession

src/components/sidebar/SessionList.tsx:56–59  ·  view source on GitHub ↗
(e: React.MouseEvent, sessionId: string)

Source from the content-addressed store, hash-verified

54 };
55
56 const handleDeleteSession = (e: React.MouseEvent, sessionId: string) => {
57 e.stopPropagation();
58 setDeleteTarget(sessionId);
59 };
60
61 const confirmDeleteSession = async () => {
62 if (!deleteTarget) return;

Callers 1

SessionListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected