ChatUploadPreview: support gif attachments

This commit is contained in:
Alex Gleason 2023-02-08 12:50:18 -06:00
parent ef5001d38b
commit 072e058764
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ const ChatUploadPreview: React.FC<IChatUploadPreview> = ({ className, attachment
switch (attachment.type) {
case 'image':
case 'gifv':
return (
<img
className='pointer-events-none h-full w-full object-cover'