mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
fix: remove success toasts for added media items in timeline components
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user