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.

display "recommended" accordingly

Mingjie Jiang0a98bd41638d
diff --git a/components/app/settings/custom-domain/domain-configuration.tsx b/components/app/settings/custom-domain/domain-configuration.tsx
index b74a0b3c3e..46191bb00b 100644
--- a/components/app/settings/custom-domain/domain-configuration.tsx
+++ b/components/app/settings/custom-domain/domain-configuration.tsx
@@ -74,7 +74,7 @@ export default function DomainConfiguration({
: "text-gray-400 border-white"
} text-sm border-b-2 pb-1 transition-all ease duration-150`}
>
- A Record (recommended)
+ A Record{!subdomain && " (recommended)"}
</button>
<button
onClick={() => setRecordType("CNAME")}
@@ -84,7 +84,7 @@ export default function DomainConfiguration({
: "text-gray-400 border-white"
} text-sm border-b-2 pb-1 transition-all ease duration-150`}
>
- CNAME Record (for subdomains)
+ CNAME Record{subdomain && " (recommended)"}
</button>
</div>
<div className="my-3 text-left">