From dbaa4d20bdc49d5646ace72aa3e25930fe3d27c0 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Thu, 16 Nov 2023 16:41:52 +0000 Subject: [PATCH] Make "Use same address for billing" visible by default (#11804) --- .../checkout-shipping-address-block/block.tsx | 30 +++++++++---------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/assets/js/blocks/checkout/inner-blocks/checkout-shipping-address-block/block.tsx b/assets/js/blocks/checkout/inner-blocks/checkout-shipping-address-block/block.tsx index b26d6266ed1..29bf5e455d0 100644 --- a/assets/js/blocks/checkout/inner-blocks/checkout-shipping-address-block/block.tsx +++ b/assets/js/blocks/checkout/inner-blocks/checkout-shipping-address-block/block.tsx @@ -123,22 +123,20 @@ const Block = ( { /> ) : null } - { hasAddress && ( - { - setUseShippingAsBilling( checked ); - if ( checked ) { - syncBillingWithShipping(); - } - } } - /> - ) } + { + setUseShippingAsBilling( checked ); + if ( checked ) { + syncBillingWithShipping(); + } + } } + /> ); };