From 79b8275bc0feef2aa32c95ca652d1160a3aeadbc Mon Sep 17 00:00:00 2001 From: Hyteq Date: Mon, 23 Jun 2025 09:04:33 +0300 Subject: chore: cleaned up annoying toasts that arent needed --- apps/web/src/components/editor/timeline.tsx | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'apps/web/src/components/editor/timeline.tsx') diff --git a/apps/web/src/components/editor/timeline.tsx b/apps/web/src/components/editor/timeline.tsx index 672122b7..6b507b7d 100644 --- a/apps/web/src/components/editor/timeline.tsx +++ b/apps/web/src/components/editor/timeline.tsx @@ -113,7 +113,7 @@ export function Timeline() { duration: mediaItem.duration || 5, // Default 5 seconds for images }); - toast.success(`Added ${name} to ${trackType} track`); + } catch (error) { console.error("Error parsing media item data:", error); toast.error("Failed to add media to timeline"); @@ -159,7 +159,7 @@ export function Timeline() { duration: addedItem.duration || 5, // Default 5 seconds for images }); - toast.success(`Added ${processedItem.name} to timeline`); + } } } catch (error) { @@ -180,9 +180,8 @@ export function Timeline() { return (