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.

fix: close popover when switching key in LinkCard component

Senthil Athiban91e91fb8f932
diff --git a/apps/web/ui/links/link-card.tsx b/apps/web/ui/links/link-card.tsx
index 27f7206588..15df67271c 100644
--- a/apps/web/ui/links/link-card.tsx
+++ b/apps/web/ui/links/link-card.tsx
@@ -234,6 +234,7 @@ export default function LinkCard({
) {
setSelected(false);
e.preventDefault();
+ setOpenPopover(false);
switch (key) {
case "e":
setShowAddEditLinkModal(true);