The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update delete-domain-modal.tsx
Steven Teya645a10078ae
diff --git a/apps/web/ui/modals/delete-domain-modal.tsx b/apps/web/ui/modals/delete-domain-modal.tsxindex 6cf20ba204..9da8354b21 100644--- a/apps/web/ui/modals/delete-domain-modal.tsx+++ b/apps/web/ui/modals/delete-domain-modal.tsx@@ -57,7 +57,8 @@ function DeleteDomainModal({setShowDeleteDomainModal(false);toast.success("Successfully deleted domain!");} else {- toast.error("Something went wrong. Please try again.");+ const { error } = await res.json();+ toast.error(error.message);}setDeleting(false);});