🐛 Fix JS error in the payment method modal

This commit is contained in:
Philipp Stracker 2025-01-28 12:44:30 +01:00
parent c2859e362a
commit dc6c8e2316
No known key found for this signature in database

View file

@ -11,7 +11,7 @@ import PaymentMethodModal from '../../../../ReusableComponents/PaymentMethodModa
import { PaymentHooks } from '../../../../../data';
const Modal = ( { method, setModalIsVisible, onSave } ) => {
const { paymentMethods } = PaymentHooks.usePaymentMethods();
const { all: paymentMethods } = PaymentHooks.usePaymentMethods();
const {
paypalShowLogo,
threeDSecure,