From 6ab663e293bbd5d8b912a75f544542a6d319ad6e Mon Sep 17 00:00:00 2001 From: Tim Wilson Date: Wed, 16 Oct 2024 10:29:24 -0400 Subject: [PATCH] Update template-card.tsx --- .../(dashboard)/[slug]/settings/library/utm/template-card.tsx | 1 + 1 file changed, 1 insertion(+) 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",