From 2c9fe492b4331d49224840e755e1a5344e4867ef Mon Sep 17 00:00:00 2001 From: filemon Date: Thu, 18 Sep 2025 18:57:30 -0300 Subject: [PATCH] remove unnecessary toast --- src/pages/Index.tsx | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index 0d248d97..f155df71 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -109,19 +109,6 @@ export default function Index() { // Add all files without validation setAttachedFiles(prev => [...prev, ...files]); - - // Announce files added via toast - if (files.length === 1) { - toast({ - title: "File added", - description: `${files[0].name} has been added to attachments.`, - }); - } else { - toast({ - title: "Files added", - description: `${files.length} files have been added to attachments.`, - }); - } }; // Handle keyboard shortcuts (physical keyboards only)