ChatUploadPreview: support gif attachments
This commit is contained in:
parent
ef5001d38b
commit
072e058764
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue