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.

include manage subscription button if stripeId present

Steven Tey416c3d35e0d4
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/page-client.tsx
index dc964b9ae3..1a0e84224a 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/page-client.tsx
@@ -22,6 +22,7 @@ export default function ProjectBillingClient() {
const {
slug,
plan,
+ stripeId,
nextPlan,
usage,
usageLimit,
@@ -102,7 +103,7 @@ export default function ProjectBillingClient() {
)}
</p>
</div>
- {plan !== "free" && (
+ {stripeId && (
<div>
<Button
text="Manage Subscription"