558525aa6e
* Add emptyHiddenAddressFields function * Add tests for emptyHiddenAddressFields * Remove address fields that should be hidden before processing checkout * Empty hidden address fields before displaying in shipping calculator * Refactor emptyHiddenAddressFields so we only iterate once * Fix test for emptyHiddenAddressFields * Import default address fields from @woocommerce/settings * Import emptyHiddenAddressFields * Copy address first before emptying fields * Modify address directly instead of copying it * Copy address variable instead of mutating it directly * Add files to TS project * Return the new address rather than the parameter * Don't clean address fields in the presentation layer * Clean address in useStoreCart before it gets sent to components |
||
---|---|---|
.. | ||
processor | ||
index.js |