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 (