Skip to content

Commit

Permalink
fix: mimetype
Browse files Browse the repository at this point in the history
  • Loading branch information
imsergiy committed Aug 27, 2021
1 parent 94602d3 commit c6150e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/showcases/src/components/common/FilePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const FilePreview = ({ file, remove }: { file: File; remove?: () => void
/>
)}
<div className="flex-1 overflow-hidden flex items-center">
<MediaPreview type={file.type} src={src} />
<MediaPreview mimeType={file.type} src={src} />
</div>
<div className="p-1">
<CompactCaption text={file.name} />
Expand Down

0 comments on commit c6150e0

Please sign in to comment.