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 Tey80096a9f435b
diff --git a/apps/web/ui/modals/add-edit-domain-modal/index.tsx b/apps/web/ui/modals/add-edit-domain-modal/index.tsx
index ce5c3635c2..86be0e8a04 100644
--- a/apps/web/ui/modals/add-edit-domain-modal/index.tsx
+++ b/apps/web/ui/modals/add-edit-domain-modal/index.tsx
@@ -379,9 +379,9 @@ function AddEditDomainButton({
disabledTooltip={
exceededDomains ? (
<TooltipContent
- title={`You can only add up to ${domainsLimit} domains on the ${capitalize(
- plan,
- )} plan. Upgrade to add more domains`}
+ title={`You can only add up to ${domainsLimit} domain${
+ domainsLimit === 1 ? "" : "s"
+ } on the ${capitalize(plan)} plan. Upgrade to add more domains`}
cta="Upgrade"
onClick={() => {
queryParams({