Commit 58a274c
Use hasSelectedLocalPickup from useShippingData directly
Instead of manually checking for 'pickup_location' method_id which
doesn't cover all local pickup methods, use the existing
hasSelectedLocalPickup property from useShippingData hook.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent bf29941 commit 58a274c
1 file changed
Lines changed: 1 addition & 7 deletions
File tree
- plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-billing-address-block
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 43 | + | |
50 | 44 | | |
51 | 45 | | |
52 | 46 | | |
| |||
0 commit comments