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.

prevent select tag when deleting

Steven Tey682e326cfc27
diff --git a/components/app/links/link-filters.tsx b/components/app/links/link-filters.tsx
index 70a0e305ac..7ef41a1767 100644
--- a/components/app/links/link-filters.tsx
+++ b/components/app/links/link-filters.tsx
@@ -455,6 +455,7 @@ const TagPopover = ({ tag, count }: { tag: TagProps; count: number }) => {
<button
onClick={(e) => {
e.stopPropagation();
+ e.preventDefault();
confirm(
"Are you sure you want to delete this tag? All tagged links will be untagged, but they won't be deleted.",
) && handleDelete();