summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-07-21 14:47:42 +0200
committerMaze Winther <mazewinther@gmail.com>2025-07-21 14:47:42 +0200
commit5782df7350f0e0c87f7ea9cc0afd91abe0364f89 (patch)
tree1a7bc6297a1e4ae3cbb5c74e563ada0d79678d14 /apps
parenta2a9bef1d8af7c3fe44dff89a97a598b7d22111a (diff)
downloadopencut-5782df7350f0e0c87f7ea9cc0afd91abe0364f89.tar.gz
remove toasts
Diffstat (limited to 'apps')
-rw-r--r--apps/web/src/components/editor/timeline.tsx3
-rw-r--r--apps/web/src/hooks/use-editor-actions.ts1
2 files changed, 0 insertions, 4 deletions
diff --git a/apps/web/src/components/editor/timeline.tsx b/apps/web/src/components/editor/timeline.tsx
index 9e68fd4d..6e8c453c 100644
--- a/apps/web/src/components/editor/timeline.tsx
+++ b/apps/web/src/components/editor/timeline.tsx
@@ -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 }) => {
diff --git a/apps/web/src/hooks/use-editor-actions.ts b/apps/web/src/hooks/use-editor-actions.ts
index e0d9b9eb..4e8f6aef 100644
--- a/apps/web/src/hooks/use-editor-actions.ts
+++ b/apps/web/src/hooks/use-editor-actions.ts
@@ -102,7 +102,6 @@ export function useEditorActions() {
useActionHandler("delete-selected", () => {
if (selectedElements.length === 0) {
- toast.error("No elements selected");
return;
}
selectedElements.forEach(