MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / close

Function close

graph-ui/src/settings/ConfigPanel.tsx:78–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 return () => { if (previous instanceof HTMLElement && previous.isConnected) previous.focus(); };
77 }, [embedded]);
78 const close = () => { if (pending.current) return; if (count) setConfirmClose(true); else onClose(); };
79 const keyDown = (event: KeyboardEvent<HTMLDivElement>) => {
80 if (event.key === 'Escape') { event.stopPropagation(); close(); }
81 if (event.key !== 'Tab') return;

Calls

no outgoing calls