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 Tey1101e16a9611
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 53914e005f..eca86d3223 100644
--- a/apps/web/ui/modals/add-edit-link-modal/index.tsx
+++ b/apps/web/ui/modals/add-edit-link-modal/index.tsx
@@ -490,11 +490,14 @@ function AddEditLinkModal({
props && lockKey ? "cursor-not-allowed" : ""
} w-40 rounded-l-md border border-r-0 border-gray-300 bg-gray-50 px-5 text-sm text-gray-500 focus:border-gray-300 focus:outline-none focus:ring-0`}
>
- {domains?.map(({ slug }) => (
- <option key={slug} value={slug}>
- {punycode.toUnicode(slug || "")}
- </option>
- ))}
+ {domains
+ // temporarily remove chatg.pt from the list of domains
+ ?.filter(({ slug }) => slug !== "chatg.pt")
+ .map(({ slug }) => (
+ <option key={slug} value={slug}>
+ {punycode.toUnicode(slug || "")}
+ </option>
+ ))}
</select>
<input
ref={keyRef}