Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update template-card.tsx

Tim Wilson6ab663e293bb
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/template-card.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/template-card.tsx
index c555884b86..09573539ea 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/template-card.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/template-card.tsx
@@ -48,6 +48,7 @@ export function TemplateCard({
const handleDelete = async () => {
if (!confirm("Are you sure you want to delete this template?")) return;
+ setOpenPopover(false);
setProcessing(true);
fetch(`/api/utm/${template.id}?workspaceId=${id}`, {
method: "DELETE",