fix: tweak styles (#645)

This commit is contained in:
Jeremy 2024-12-20 23:07:23 +05:30 committed by GitHub
parent 8d6eb09454
commit 50fbc0dab2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 43 additions and 31 deletions

View file

@ -23,7 +23,7 @@ import { useLocalStorage, useWindowSize } from 'usehooks-ts';
import { sanitizeUIMessages } from '@/lib/utils';
import { ArrowUpIcon, ImageIcon, PaperclipIcon, StopIcon } from './icons';
import { ArrowUpIcon, PaperclipIcon, StopIcon } from './icons';
import { PreviewAttachment } from './preview-attachment';
import { Button } from './ui/button';
import { Textarea } from './ui/textarea';
@ -293,7 +293,7 @@ function PureAttachmentsButton({
disabled={isLoading}
variant="ghost"
>
<ImageIcon size={14} />
<PaperclipIcon size={14} />
</Button>
);
}
@ -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;
});