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 links-limit.tsx

Steven Teyec9cdd0dc2c8
diff --git a/apps/web/emails/links-limit.tsx b/apps/web/emails/links-limit.tsx
index fab4a70c48..26780432f7 100644
--- a/apps/web/emails/links-limit.tsx
+++ b/apps/web/emails/links-limit.tsx
@@ -88,9 +88,11 @@ export default function LinksLimitAlert({
<Section className="mb-8 text-center">
<Link
className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
- href={`https://app.dub.co/${slug}?upgrade=${
- plan === "free" ? "pro" : "business"
- }`}
+ href={
+ plan === "free"
+ ? `https://app.dub.co/${slug}?upgrade=pro`
+ : `https://app.dub.co/${slug}/settings/billing`
+ }
>
Upgrade my plan
</Link>