diff --git a/components/form/field/FilePreview.tsx b/components/form/field/FilePreview.tsx index c917f54..19c3d26 100644 --- a/components/form/field/FilePreview.tsx +++ b/components/form/field/FilePreview.tsx @@ -289,6 +289,7 @@ export const FilePreviewBetter = ({ ); if ( + file?.fullname && [".png", ".jpeg", ".jpg", ".webp"].find((e) => file?.fullname.endsWith(e)) ) { content = (