Skip to content

Commit

Permalink
Update SpeechRecognition.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
bsu3338 authored Aug 6, 2023
1 parent 28a00a5 commit 69ff48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Input/SpeechRecognition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const useSpeechRecognition = (ask) => {
return () => {
recognition.stop();
};
}, [isListening, setText]);
}, [isListening]);

const toggleListening = (event) => {
if (event) {
Expand Down

0 comments on commit 69ff48d

Please sign in to comment.