From b1fd8d9beaf65df942b02a1c743ba590ddba7750 Mon Sep 17 00:00:00 2001 From: Reece Browne Date: Thu, 14 Aug 2025 19:48:05 +0100 Subject: [PATCH] fix mime type error --- frontend/src/components/FileManager.tsx | 1 - frontend/src/components/fileEditor/FileEditor.tsx | 1 - frontend/src/components/fileManager/HiddenFileInput.tsx | 1 - 3 files changed, 3 deletions(-) diff --git a/frontend/src/components/FileManager.tsx b/frontend/src/components/FileManager.tsx index 02f9af5e4..e0d596d58 100644 --- a/frontend/src/components/FileManager.tsx +++ b/frontend/src/components/FileManager.tsx @@ -130,7 +130,6 @@ const FileManager: React.FC = ({ selectedTool }) => { onDrop={handleNewFileUpload} onDragEnter={() => setIsDragging(true)} onDragLeave={() => setIsDragging(false)} - accept={["*/*"]} multiple={true} activateOnClick={false} style={{ diff --git a/frontend/src/components/fileEditor/FileEditor.tsx b/frontend/src/components/fileEditor/FileEditor.tsx index 1494dfa9a..c45e7e902 100644 --- a/frontend/src/components/fileEditor/FileEditor.tsx +++ b/frontend/src/components/fileEditor/FileEditor.tsx @@ -664,7 +664,6 @@ const FileEditor = ({ return ( { ref={fileInputRef} type="file" multiple={true} - accept="*/*" onChange={onFileInputChange} style={{ display: 'none' }} data-testid="file-input"