Skip to content

Commit

Permalink
Update template-card.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
TWilson023 committed Oct 16, 2024
1 parent dad8c30 commit 6ab663e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6ab663e

Please sign in to comment.