diff --git a/components/multimodal-input.tsx b/components/multimodal-input.tsx index 8b9faf6a6..9fcbbb4b7 100644 --- a/components/multimodal-input.tsx +++ b/components/multimodal-input.tsx @@ -346,9 +346,4 @@ function PureSendButton({ ); } -const SendButton = memo(PureSendButton, (prevProps, nextProps) => { - if (prevProps.uploadQueue.length !== nextProps.uploadQueue.length) - return false; - if (!prevProps.input !== !nextProps.input) return false; - return true; -}); +const SendButton = PureSendButton;