Spaces:
Running
Running
axeronis commited on
Commit ·
60f2b59
1
Parent(s): dc6f920
fix(ui): resolve MessageInput lint error and finalize Phase 3
Browse files
frontend/components/ChatWindow/MessageInput.tsx
CHANGED
|
@@ -40,7 +40,7 @@ export function MessageInput({
|
|
| 40 |
const handleSubmit = (e: React.FormEvent) => {
|
| 41 |
e.preventDefault()
|
| 42 |
if (isRecording) {
|
| 43 |
-
|
| 44 |
return
|
| 45 |
}
|
| 46 |
onSubmit(e, selectedFile, pendingAudio)
|
|
|
|
| 40 |
const handleSubmit = (e: React.FormEvent) => {
|
| 41 |
e.preventDefault()
|
| 42 |
if (isRecording) {
|
| 43 |
+
handleSendVoice(e)
|
| 44 |
return
|
| 45 |
}
|
| 46 |
onSubmit(e, selectedFile, pendingAudio)
|