aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/web/components/dashboard/bookmarks/EditorCard.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/components/dashboard/bookmarks/EditorCard.tsx b/apps/web/components/dashboard/bookmarks/EditorCard.tsx
index 44d68378..badf6002 100644
--- a/apps/web/components/dashboard/bookmarks/EditorCard.tsx
+++ b/apps/web/components/dashboard/bookmarks/EditorCard.tsx
@@ -69,8 +69,8 @@ export default function EditorCard({ className }: { className?: string }) {
}
form.reset();
},
- onError: () => {
- toast({ description: "Something went wrong", variant: "destructive" });
+ onError: (e) => {
+ toast({ description: e.message, variant: "destructive" });
},
});