mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-19 18:00:15 +01:00
Update SpeechRecognition.tsx
This commit is contained in:
parent
ca3f064a6e
commit
2522d7654e
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ const useSpeechRecognition = (ask) => {
|
|||
return () => {
|
||||
recognition.stop();
|
||||
};
|
||||
}, [isListening, ask]);
|
||||
}, [isListening, ask, setText]);
|
||||
|
||||
const toggleListening = (event) => {
|
||||
if (event) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue