mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
🔀 Merge branch 'PCP-3380’
This commit is contained in:
commit
25d5d3d059
1 changed files with 6 additions and 2 deletions
|
@ -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,
|
||||
};
|
||||
},
|
||||
[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue