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,
|
trimStart: 0,
|
||||||
trimEnd: 0,
|
trimEnd: 0,
|
||||||
});
|
});
|
||||||
|
|
||||||
toast.success(`Added ${mediaItem.name} to ${track.name}`);
|
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Error handling drop:", error);
|
console.error("Error handling drop:", error);
|
||||||
|
@ -339,7 +339,6 @@ export function Timeline() {
|
|||||||
trimStart: 0,
|
trimStart: 0,
|
||||||
trimEnd: 0,
|
trimEnd: 0,
|
||||||
});
|
});
|
||||||
toast.success(`Added ${mediaItem.name} to new ${trackType} track`);
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// Show error if parsing fails
|
// Show error if parsing fails
|
||||||
console.error("Error parsing media item data:", error);
|
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 = () => {
|
const handleSplitAndKeepLeft = () => {
|
||||||
if (selectedClips.length === 0) {
|
if (selectedClips.length === 0) {
|
||||||
|
Reference in New Issue
Block a user