diff --git a/app/components/chat/FilePreview.tsx b/app/components/chat/FilePreview.tsx index 4c842ee..0500d03 100644 --- a/app/components/chat/FilePreview.tsx +++ b/app/components/chat/FilePreview.tsx @@ -1,7 +1,5 @@ -// Remove the lucide-react import import React from 'react'; -// Rest of the interface remains the same interface FilePreviewProps { files: File[]; imageDataList: string[]; @@ -14,19 +12,17 @@ const FilePreview: React.FC = ({ files, imageDataList, onRemov } return ( -
+
{files.map((file, index) => (
{imageDataList[index] && ( -
+
{file.name}
)}