mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
Update SpeechRecognition.tsx
This commit is contained in:
parent
c7ffb25217
commit
10e3be58a5
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ const useSpeechRecognition = (ask) => {
|
|||
return () => {
|
||||
window.removeEventListener('keydown', handleKeyDown);
|
||||
};
|
||||
}, [isListening]);
|
||||
});
|
||||
|
||||
return { isSpeechSupported, isListening, text, toggleListening };
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue