Skip to content

Commit

Permalink
fix truncated message when using submit button
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyphilemon committed Dec 20, 2024
1 parent 8cb349d commit bc6b70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/multimodal-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,6 @@ function PureSendButton({
const SendButton = memo(PureSendButton, (prevProps, nextProps) => {
if (prevProps.uploadQueue.length !== nextProps.uploadQueue.length)
return false;
if (!prevProps.input !== !nextProps.input) return false;
if (prevProps.input !== nextProps.input) return false;
return true;
});

0 comments on commit bc6b70e

Please sign in to comment.