File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -189,13 +189,9 @@ export default function Conversation(): JSX.Element {
189189 return ( ) => {
190190 clearTimeout ( failsafeTimeout ) ;
191191 } ;
192- } , [
193- microphoneOpen ,
194- currentUtterance ,
195- append ,
196- clearTranscriptParts ,
197- failsafeTimeout ,
198- ] ) ;
192+
193+ // eslint-disable-next-line react-hooks/exhaustive-deps
194+ } , [ microphoneOpen , currentUtterance ] ) ;
199195
200196 const onSpeechStart = ( ) => {
201197 /**
@@ -205,7 +201,6 @@ export default function Conversation(): JSX.Element {
205201 */
206202 if ( ! microphoneOpen ) return ;
207203
208-
209204 /**
210205 * We we're talking again, we want to wait for a transcript.
211206 */
@@ -334,7 +329,7 @@ export default function Conversation(): JSX.Element {
334329 if ( ! content ) return ;
335330
336331 /**
337- * failsafe was triggered since we last sent a message to TTS
332+ * failsafe was triggered since we last sent a message to TTS
338333 */
339334 if ( failsafeTriggered ) {
340335 clearTranscriptParts ( ) ;
You can’t perform that action at this time.
0 commit comments