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.

small tweaks

Steven Teyb8ab96744a92
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/billing/upgrade/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/billing/upgrade/page.tsx
index 67064e227a..f0f1218eb2 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/billing/upgrade/page.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/billing/upgrade/page.tsx
@@ -109,12 +109,7 @@ export default function WorkspaceBillingUpgradePage() {
});
}, [linksUsage, eventsUsage]);
- const hideProPlan = Boolean(
- defaultProgramId &&
- currentPlan &&
- currentPlan !== "pro" &&
- currentPlan !== "free",
- );
+ const hideProPlan = Boolean(defaultProgramId && currentPlan !== "pro");
const plans: { plan: PlanDetails; planTier: number }[] = useMemo(
() =>
diff --git a/packages/email/src/templates/failed-payment.tsx b/packages/email/src/templates/failed-payment.tsx
index e904fdb807..cdf0a244b0 100644
--- a/packages/email/src/templates/failed-payment.tsx
+++ b/packages/email/src/templates/failed-payment.tsx
@@ -88,16 +88,16 @@ export default function FailedPayment({
href="https://dub.co/help/article/how-to-change-billing-information"
className="font-medium text-blue-600 no-underline"
>
- update your payment information
+ update your payment method
</Link>{" "}
- using the link below:
+ and retry your payment using the link below:
</Text>
<Section className="my-8">
<Link
className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
- href={`https://app.dub.co/${workspace.slug}/settings/billing`}
+ href={`https://app.dub.co/${workspace.slug}/settings/billing#payment-methods`}
>
- Update payment information
+ Update payment method
</Link>
</Section>
<Text className="text-sm leading-6 text-black">