Update SpeechRecognition.tsx

This commit is contained in:
bsu3338 2023-09-03 19:21:50 -05:00 committed by GitHub
parent 9a27e56f8b
commit 5542f8e85d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ const useSpeechRecognition = (ask) => {
recognition.onend = () => {
setIsListening(false);
// setText('');
setText('');
};
if (isListening) {