Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Trigger the set-billing-address when editing Shipping
Browse files Browse the repository at this point in the history
  • Loading branch information
senadir committed Mar 23, 2023
1 parent 2b81145 commit 61af48f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ const Block = ( {
setShippingAddress( values );
if ( useShippingAsBilling ) {
setBillingAddress( values );
dispatchCheckoutEvent( 'set-billing-address' );
}
dispatchCheckoutEvent( 'set-shipping-address' );
} }
Expand Down

0 comments on commit 61af48f

Please sign in to comment.