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.

Update index.tsx

Steven Tey4a479323a220
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 eca86d3223..a86bb63aba 100644
--- a/apps/web/ui/modals/add-edit-link-modal/index.tsx
+++ b/apps/web/ui/modals/add-edit-link-modal/index.tsx
@@ -492,7 +492,10 @@ function AddEditLinkModal({
>
{domains
// temporarily remove chatg.pt from the list of domains
- ?.filter(({ slug }) => slug !== "chatg.pt")
+ ?.filter(
+ ({ slug: domainSlug }) =>
+ slug || domainSlug !== "chatg.pt",
+ )
.map(({ slug }) => (
<option key={slug} value={slug}>
{punycode.toUnicode(slug || "")}