mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +08:00
Merge branch 'trunk' into PCP-1762-cart-paylater-amount
This commit is contained in:
commit
67ad49b8de
1 changed files with 3 additions and 1 deletions
|
@ -81,7 +81,9 @@ class Renderer {
|
||||||
...contextConfig,
|
...contextConfig,
|
||||||
onClick: this.onSmartButtonClick,
|
onClick: this.onSmartButtonClick,
|
||||||
onInit: (data, actions) => {
|
onInit: (data, actions) => {
|
||||||
this.onSmartButtonsInit(data, actions);
|
if (this.onSmartButtonsInit) {
|
||||||
|
this.onSmartButtonsInit(data, actions);
|
||||||
|
}
|
||||||
this.handleOnButtonsInit(wrapper, data, actions);
|
this.handleOnButtonsInit(wrapper, data, actions);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue