diff --git a/assets/js/base/context/providers/cart-checkout/checkout-events/index.tsx b/assets/js/base/context/providers/cart-checkout/checkout-events/index.tsx index e6673378420..0392acc44bf 100644 --- a/assets/js/base/context/providers/cart-checkout/checkout-events/index.tsx +++ b/assets/js/base/context/providers/cart-checkout/checkout-events/index.tsx @@ -252,7 +252,7 @@ export const CheckoutEventsProvider = ( { const previousStatus = usePrevious( checkoutStatus ); const previousHasError = usePrevious( checkoutHasError ); - // Emit CHECKOUT_SUCCESS and CHECKOUT_FAL events + // Emit CHECKOUT_SUCCESS and CHECKOUT_FAIL events // and set checkout errors according to the callback responses useEffect( () => { if ( diff --git a/assets/js/data/payment/actions.ts b/assets/js/data/payment/actions.ts index 7264105da59..f1c735111a5 100644 --- a/assets/js/data/payment/actions.ts +++ b/assets/js/data/payment/actions.ts @@ -37,10 +37,6 @@ export const __internalSetPaymentReady = () => ( { type: ACTION_TYPES.SET_PAYMENT_READY, } ); -export const __internalSetPaymentReady = () => ( { - type: ACTION_TYPES.SET_PAYMENT_READY, -} ); - /** * Set whether the payment methods have been initialised or not *