mirror of
https://gh.wpcy.net/https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2026-05-01 04:52:18 +08:00
PayPalScriptProvider ignores option changes after initial mount. Adding a `key` derived from the `disable-funding` option forces a full remount whenever the enabled payment methods change, so the preview correctly reflects the current selection. Also removes the now-resolved TODO comment. |
||
|---|---|---|
| .. | ||
| css | ||
| js | ||