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 🧟♀️
|
||
---|---|---|
.. | ||
actions.js | ||
constants.js | ||
event-emit.js | ||
index.js | ||
payment-method-data-context.js | ||
reducer.js | ||
use-payment-method-registration.js |