The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
hide NoPartnerPaymentMethods if no stripeId
Steven Teye374fcc7680c
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/billing/payment-methods.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/billing/payment-methods.tsxindex 0c143f2fc8..ba3a1f3dfe 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/billing/payment-methods.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/billing/payment-methods.tsx@@ -163,9 +163,14 @@ const PaymentMethodCard = ({};const NoPartnerPaymentMethods = () => {+ const { stripeId } = useWorkspace();const { setShowAddPaymentMethodModal, AddPaymentMethodModal } =useAddPaymentMethodModal();+ if (!stripeId) {+ return null;+ }+return (<>{AddPaymentMethodModal}