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

Function handleSubmit

frontend/src/components/commonUI/AiPromptDialog.tsx:54–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 }
53
54 const handleSubmit = () => {
55 if (!prompt.trim() || isLoading) return
56 onSubmit(prompt)
57 setPrompt('')
58 }
59
60 const handleOpenChange = (detail: OpenChangeDetails) => {
61 if (!detail.open) {

Callers 3

handleKeyDownFunction · 0.70
SignUpFunction · 0.50
LoginFunction · 0.50

Calls 1

onSubmitFunction · 0.50

Tested by

no test coverage detected