Fix block editing

This commit is contained in:
Alex P 2023-11-24 09:56:52 +02:00
parent 2c8352fa24
commit 9038119618
No known key found for this signature in database
GPG key ID: 54487A734A204D71

View file

@ -356,7 +356,7 @@ if (config.scriptData.continuation) {
paymentMethodId: config.id,
label: <div dangerouslySetInnerHTML={{__html: config.title}}/>,
content: <PayPalComponent isEditing={false} fundingSource={fundingSource}/>,
edit: <PayPalComponent isEditing={true}/>,
edit: <PayPalComponent isEditing={true} fundingSource={fundingSource}/>,
ariaLabel: config.title,
canMakePayment: async () => {
await paypalScriptPromise;