Skip to content

Commit

Permalink
fix memo deps
Browse files Browse the repository at this point in the history
  • Loading branch information
cogentapps committed Mar 20, 2023
1 parent 6359c9f commit 9e10796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/components/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 9e10796

Please sign in to comment.