Update TextChat.jsx

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

View file

@ -31,6 +31,7 @@ export default function TextChat({ isSearchView = false }) {
if (isListening && speechText) {
setText(speechText);
} else {
// Enable below for auto submit
// setText('');
}
}, [speechText, isListening, setText]);