Skip to content

Commit 2eb46fd

Browse files
committed
fix(clerk-js): Avoid using needsPaymentMethod in CheckoutComplete step
1 parent 68c888f commit 2eb46fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/clerk-js/src/ui/components/Checkout/CheckoutComplete.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export const CheckoutComplete = () => {
161161
const { setIsOpen } = useDrawerContext();
162162
const { newSubscriptionRedirectUrl } = useCheckoutContext();
163163
const { checkout } = useCheckout();
164-
const { totals, paymentMethod, planPeriodStart, freeTrialEndsAt, needsPaymentMethod } = checkout;
164+
const { totals, paymentMethod, planPeriodStart, freeTrialEndsAt } = checkout;
165165
const [mousePosition, setMousePosition] = useState({ x: 256, y: 256 });
166166

167167
const prefersReducedMotion = usePrefersReducedMotion();

0 commit comments

Comments
 (0)