From 266b0c015e014eb7cf3b9b16026774138a69d455 Mon Sep 17 00:00:00 2001 From: Niels Roozemond Date: Fri, 13 Dec 2024 13:51:50 +0100 Subject: [PATCH] Update packages/react/src/FileList/FileListItem.tsx Co-authored-by: Vincent Smedinga --- packages/react/src/FileList/FileListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/FileList/FileListItem.tsx b/packages/react/src/FileList/FileListItem.tsx index c036964c90..1ae2f5efcb 100644 --- a/packages/react/src/FileList/FileListItem.tsx +++ b/packages/react/src/FileList/FileListItem.tsx @@ -21,7 +21,7 @@ export const FileListItem = forwardRef( ({ file, onDelete, className, ...restProps }: FileListItemProps, ref: ForwardedRef) => (
  • - {file.type.includes('image') ? ( + {file.type.startsWith('image/') ? ( {file.name} ) : (