mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 09:20:15 +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 () => {
|
return () => {
|
||||||
window.removeEventListener('keydown', handleKeyDown);
|
window.removeEventListener('keydown', handleKeyDown);
|
||||||
};
|
};
|
||||||
}, [isListening]);
|
});
|
||||||
|
|
||||||
return { isSpeechSupported, isListening, text, toggleListening };
|
return { isSpeechSupported, isListening, text, toggleListening };
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue