diff --git a/src/components/Sidebar/chat/FilePreviewBar.tsx b/src/components/Sidebar/chat/FilePreviewBar.tsx index 72a02c2d..0e2b6b95 100644 --- a/src/components/Sidebar/chat/FilePreviewBar.tsx +++ b/src/components/Sidebar/chat/FilePreviewBar.tsx @@ -8,17 +8,23 @@ interface FilePreviewBarProps { const FilePreviewBar = ({ files, removeFile }: FilePreviewBarProps) => { if (files.length === 0) return null + return (
{files.map((file) => (
-
+ preview -
+ {removeFile && (