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