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

Function handleOpenChange

frontend/src/components/commonUI/AiPromptDialog.tsx:60–64  ·  view source on GitHub ↗
(detail: OpenChangeDetails)

Source from the content-addressed store, hash-verified

58 }
59
60 const handleOpenChange = (detail: OpenChangeDetails) => {
61 if (!detail.open) {
62 onClose()
63 }
64 }
65
66 const handleKeyDown = (event: { key: string; preventDefault: () => void }) => {
67 if (event.key === 'Enter' && !isLoading) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected