From b6722337608b2287ac1bb0174ae81a3f1b86cb63 Mon Sep 17 00:00:00 2001 From: Bastien Lamamy Date: Wed, 4 Oct 2023 10:20:30 +0200 Subject: [PATCH] update initialShipping retrieve props --- .../AddressAndShippingMethod/AddressAndShippingMethod.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/alternative-checkout/web/theme/modules/Checkout/AddressAndShippingMethod/AddressAndShippingMethod.js b/alternative-checkout/web/theme/modules/Checkout/AddressAndShippingMethod/AddressAndShippingMethod.js index 44173cc..cade694 100644 --- a/alternative-checkout/web/theme/modules/Checkout/AddressAndShippingMethod/AddressAndShippingMethod.js +++ b/alternative-checkout/web/theme/modules/Checkout/AddressAndShippingMethod/AddressAndShippingMethod.js @@ -39,10 +39,7 @@ const AddressAndShippingMethod = (props) => { billingAddress={props.billingAddress} setShippingAddress={props.setShippingAddress} setBillingAddress={props.setBillingAddress} - initialShipping={{ - shippingMethod: props.shippingMethod, - shippingAdditionalInfo: props.shippingAdditionalInfo, - }} + initialShipping={props.initialShipping} onChooseShippingMethod={props.onChooseShippingMethod} onChangeShippingAddress={() => props.gotoStepNumber(0)} commandPending={props.commandPending}