remove toasts

This commit is contained in:
Maze Winther 2025-07-21 14:47:42 +02:00
parent a2a9bef1d8
commit 5782df7350
2 changed files with 0 additions and 4 deletions

View File

@ -433,7 +433,6 @@ export function Timeline() {
// Action handlers for toolbar
const handleSplitSelected = () => {
if (selectedElements.length === 0) {
toast.error("No elements selected");
return;
}
let splitCount = 0;
@ -459,7 +458,6 @@ export function Timeline() {
const handleDuplicateSelected = () => {
if (selectedElements.length === 0) {
toast.error("No elements selected");
return;
}
const canDuplicate = selectedElements.length === 1;
@ -553,7 +551,6 @@ export function Timeline() {
const handleDeleteSelected = () => {
if (selectedElements.length === 0) {
toast.error("No elements selected");
return;
}
selectedElements.forEach(({ trackId, elementId }) => {

View File

@ -102,7 +102,6 @@ export function useEditorActions() {
useActionHandler("delete-selected", () => {
if (selectedElements.length === 0) {
toast.error("No elements selected");
return;
}
selectedElements.forEach(