sforkowany z mirror/soapbox
ChatUploadPreview: support gif attachments
rodzic
ef5001d38b
commit
072e058764
|
|
@ -21,6 +21,7 @@ const ChatUploadPreview: React.FC<IChatUploadPreview> = ({ className, attachment
|
||||||
|
|
||||||
switch (attachment.type) {
|
switch (attachment.type) {
|
||||||
case 'image':
|
case 'image':
|
||||||
|
case 'gifv':
|
||||||
return (
|
return (
|
||||||
<img
|
<img
|
||||||
className='pointer-events-none h-full w-full object-cover'
|
className='pointer-events-none h-full w-full object-cover'
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue