The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update payment-methods.tsx
Tim Wilson8bf15974bc7a
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/payment-methods.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/payment-methods.tsxindex 40979e9fa3..ae9750ee14 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/payment-methods.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/payment-methods.tsx@@ -90,18 +90,20 @@ export default function PaymentMethods() {<PaymentMethodCardSkeleton /></>)}- {partnersEnabled &&- achPaymentMethods &&- achPaymentMethods.length > 0 ? (- achPaymentMethods.map((paymentMethod) => (- <PaymentMethodCard- key={paymentMethod.id}- type={paymentMethod.type}- paymentMethod={paymentMethod}- />- ))- ) : (- <PaymentMethodCard type="us_bank_account" />+ {partnersEnabled && (+ <>+ {achPaymentMethods && achPaymentMethods.length > 0 ? (+ achPaymentMethods.map((paymentMethod) => (+ <PaymentMethodCard+ key={paymentMethod.id}+ type={paymentMethod.type}+ paymentMethod={paymentMethod}+ />+ ))+ ) : (+ <PaymentMethodCard type="us_bank_account" />+ )}+ </>)}</div></div>