Trigger the set-billing-address when editing Shipping (https://github.com/woocommerce/woocommerce-blocks/pull/8841)
This commit is contained in:
parent
90e57bca11
commit
5457145c6a
|
@ -119,6 +119,7 @@ const Block = ( {
|
|||
setShippingAddress( values );
|
||||
if ( useShippingAsBilling ) {
|
||||
setBillingAddress( { ...values, email } );
|
||||
dispatchCheckoutEvent( 'set-billing-address' );
|
||||
}
|
||||
dispatchCheckoutEvent( 'set-shipping-address' );
|
||||
} }
|
||||
|
|
Loading…
Reference in New Issue