From c5081a413f8937ba824c8e65815cf72500efbe73 Mon Sep 17 00:00:00 2001 From: Connor Yoh Date: Fri, 1 Aug 2025 18:02:52 +0100 Subject: [PATCH] Removed old add file from storage buttons --- frontend/package.json | 3 +- .../src/components/fileEditor/FileEditor.tsx | 68 ++++++++----------- 2 files changed, 30 insertions(+), 41 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 4ff3484b3..0024c6bb6 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -47,8 +47,7 @@ }, "eslintConfig": { "extends": [ - "react-app", - "react-app/jest" + "react-app" ] }, "browserslist": { diff --git a/frontend/src/components/fileEditor/FileEditor.tsx b/frontend/src/components/fileEditor/FileEditor.tsx index b4222d9ae..ca5f594b8 100644 --- a/frontend/src/components/fileEditor/FileEditor.tsx +++ b/frontend/src/components/fileEditor/FileEditor.tsx @@ -665,46 +665,35 @@ const FileEditor = ({ return ( - - + + + - - - {showBulkActions && !toolMode && ( - <> - - - - - )} - - {/* Load from storage and upload buttons */} - {showUpload && ( - <> - - - - + + - - - )} - + + )} + {files.length === 0 && !localLoading && !zipExtractionProgress.isExtracting ? ( @@ -866,7 +855,8 @@ const FileEditor = ({ {error} )} - + + ); };