mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Always include messages component in editor
ajax request determines context incorrectly
This commit is contained in:
parent
6dd3d47649
commit
7203cd0138
1 changed files with 1 additions and 1 deletions
|
@ -51,10 +51,10 @@ export default function Edit( { attributes, clientId, setAttributes } ) {
|
|||
scriptParams = {
|
||||
url_params: {
|
||||
clientId: 'test',
|
||||
components: 'messages,buttons,funding-eligibility',
|
||||
}
|
||||
}
|
||||
}
|
||||
scriptParams.url_params.components = 'messages,buttons,funding-eligibility';
|
||||
|
||||
if (!paypalScriptState) {
|
||||
loadPaypalScript(scriptParams, () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue