🔀 Merge branch 'PCP-3380’

This commit is contained in:
Philipp Stracker 2024-09-16 14:49:55 +02:00
commit 25d5d3d059
No known key found for this signature in database

View file

@ -8,8 +8,12 @@ export const useAddressEditing = () => {
( select ) => {
const store = select( CHECKOUT_STORE_KEY );
return {
isEditingShippingAddress: store.getEditingShippingAddress(),
isEditingBillingAddress: store.getEditingBillingAddress(),
isEditingShippingAddress: store.getEditingShippingAddress
? store.getEditingShippingAddress()
: true,
isEditingBillingAddress: store.getEditingBillingAddress
? store.getEditingBillingAddress()
: true,
};
},
[]