fix: tweak styles (#645)
This commit is contained in:
parent
8d6eb09454
commit
50fbc0dab2
10 changed files with 43 additions and 31 deletions
|
|
@ -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;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue