Skip to content

Commit ae9ce3d

Browse files
authored
fix: payment method selection (supabase#36623)
1 parent 3d5870f commit ae9ce3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/studio/components/interfaces/Organization/BillingSettings/Subscription/SubscriptionPlanUpdateDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ export const SubscriptionPlanUpdateDialog = ({
554554
<PaymentMethodSelection
555555
ref={paymentMethodSelection}
556556
selectedPaymentMethod={selectedPaymentMethod}
557-
onSelectPaymentMethod={() => {}}
557+
onSelectPaymentMethod={(pm) => setSelectedPaymentMethod(pm)}
558558
createPaymentMethodInline={
559559
subscriptionPreview.pending_subscription_flow === true
560560
}

0 commit comments

Comments
 (0)