diff --git a/app/src/components/chat/AttachmentPreview.tsx b/app/src/components/chat/AttachmentPreview.tsx index 2f7c62744..d875f4c1b 100644 --- a/app/src/components/chat/AttachmentPreview.tsx +++ b/app/src/components/chat/AttachmentPreview.tsx @@ -22,15 +22,36 @@ export default function AttachmentPreview({
- {attachment.file.name} + {attachment.kind === 'image' ? ( + {attachment.file.name} + ) : ( +
+ + + + +
+ )}
{attachment.file.name} - {formatFileSize(attachment.file.size)} + {formatFileSize(attachment.payloadSizeBytes)}