From a53650646c7a5459bb4b8e3c27a07809b56f8488 Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Thu, 7 Mar 2024 17:13:18 +1100 Subject: [PATCH] Minor bug fix --- client/src/components/inspector/FileDropZone.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/components/inspector/FileDropZone.tsx b/client/src/components/inspector/FileDropZone.tsx index 5e5d219a..b79e3563 100644 --- a/client/src/components/inspector/FileDropZone.tsx +++ b/client/src/components/inspector/FileDropZone.tsx @@ -46,10 +46,10 @@ export function FileDropZone() { if (!totalClaimed) { const success = await loadWorkspace(head(fs)); if (success) return; + notify( + `Couldn't open ${fs.length} of ${pluralize("file", fs.length, true)}` + ); } - notify( - `Couldn't open ${fs.length} of ${pluralize("file", fs.length, true)}` - ); } return (