fix memo deps

main
Cogent Apps 2023-03-20 21:28:49 +00:00
parent 6359c9f50d
commit 9e10796b5a
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ export default function MessageInput(props: MessageInputProps) {
)}
</div>
);
}, [recording, transcribing, onSubmit, props.disabled, context.generating]);
}, [recording, transcribing, onSubmit, onSpeechStart, props.disabled, context.generating]);
const disabled = context.generating;