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.

missed a spot

Steven Tey72396f696f8f
diff --git a/apps/web/ui/modals/add-edit-link-modal/index.tsx b/apps/web/ui/modals/add-edit-link-modal/index.tsx
index c04e5f47cc..422140b311 100644
--- a/apps/web/ui/modals/add-edit-link-modal/index.tsx
+++ b/apps/web/ui/modals/add-edit-link-modal/index.tsx
@@ -324,7 +324,9 @@ function AddEditLinkModal({
{props
? `Edit ${linkConstructor({
key: props.key,
- domain: punycode.toUnicode(props.domain || ""),
+ domain: props.domain
+ ? punycode.toUnicode(props.domain)
+ : undefined,
pretty: true,
})}`
: "Create a new link"}