Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
handleKeyDown
Function · 0.70
SignUp
Function · 0.50
Login
Function · 0.50
Calls
1
onSubmit
Function · 0.50
Tested by
no test coverage detected