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
d9a4d2fcc0
commit
42aadd2e79
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ const useSpeechRecognition = (ask) => {
|
||||||
return () => {
|
return () => {
|
||||||
recognition.stop();
|
recognition.stop();
|
||||||
};
|
};
|
||||||
}, [isListening, ask);
|
}, [isListening, ask]);
|
||||||
|
|
||||||
const toggleListening = (event) => {
|
const toggleListening = (event) => {
|
||||||
if (event) {
|
if (event) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue