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

Commit 2db3544

Browse files
authored
Keep change button visible even if prefersCollection is true (#9809)
1 parent 076b350 commit 2db3544

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/js/base/components/cart-checkout/totals/shipping/shipping-address.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const ShippingAddress = ( {
4848
) : (
4949
<ShippingLocation formattedLocation={ formattedLocation } />
5050
) }
51-
{ showCalculator && ! prefersCollection ? (
51+
{ showCalculator && (
5252
<CalculatorButton
5353
label={ __(
5454
'Change address',
@@ -57,7 +57,7 @@ export const ShippingAddress = ( {
5757
isShippingCalculatorOpen={ isShippingCalculatorOpen }
5858
setIsShippingCalculatorOpen={ setIsShippingCalculatorOpen }
5959
/>
60-
) : null }
60+
) }
6161
</>
6262
);
6363
};

0 commit comments

Comments
 (0)