summaryrefslogtreecommitdiff
path: root/apps/web/src/components/editor
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-07-01 16:03:51 +0200
committerMaze Winther <mazewinther@gmail.com>2025-07-01 16:03:51 +0200
commit364e541d576a8c8f36f401669f6d96cf58e95c67 (patch)
tree481a9698e410124d0a0abac60e7dd8c04202d9d1 /apps/web/src/components/editor
parentd623ba6b4b6c5b5f748ca49bda2b6837fc837d66 (diff)
downloadopencut-364e541d576a8c8f36f401669f6d96cf58e95c67.tar.gz
fix: remove success toasts for added media items in timeline components
Diffstat (limited to 'apps/web/src/components/editor')
-rw-r--r--apps/web/src/components/editor/timeline-track.tsx2
-rw-r--r--apps/web/src/components/editor/timeline.tsx2
2 files changed, 0 insertions, 4 deletions
diff --git a/apps/web/src/components/editor/timeline-track.tsx b/apps/web/src/components/editor/timeline-track.tsx
index 4ba22164..54c50798 100644
--- a/apps/web/src/components/editor/timeline-track.tsx
+++ b/apps/web/src/components/editor/timeline-track.tsx
@@ -528,8 +528,6 @@ export function TimelineTrackContent({
trimStart: 0,
trimEnd: 0,
});
-
- toast.success(`Added ${mediaItem.name} to ${track.name}`);
}
} catch (error) {
console.error("Error handling drop:", error);
diff --git a/apps/web/src/components/editor/timeline.tsx b/apps/web/src/components/editor/timeline.tsx
index 544e0076..0c7bebe7 100644
--- a/apps/web/src/components/editor/timeline.tsx
+++ b/apps/web/src/components/editor/timeline.tsx
@@ -339,7 +339,6 @@ export function Timeline() {
trimStart: 0,
trimEnd: 0,
});
- toast.success(`Added ${mediaItem.name} to new ${trackType} track`);
} catch (error) {
// Show error if parsing fails
console.error("Error parsing media item data:", error);
@@ -536,7 +535,6 @@ export function Timeline() {
});
}
});
- toast.success("Freeze frame added for selected clip(s)");
};
const handleSplitAndKeepLeft = () => {
if (selectedClips.length === 0) {