e5c9243f73
* bail out of setting a default payment method if shopper has saved card
* ensure default payment method is only set as active if necessary:
- use functional form of setState; previous state (current payment
method) is not potentially stale value
- so the default is only set if there really is no active payment method
* remove unnecessary remnant hook dependency 🧟♀️
|
||
---|---|---|
.. | ||
add-to-cart-form | ||
cart-checkout | ||
editor | ||
shared | ||
test | ||
container-width-context.js | ||
index.js | ||
query-state-context.js | ||
store-notices-context.js | ||
utils.js |