Checkout block: Remove the erroneous component overide

This commit is contained in:
Daniel Dudzic 2024-04-22 16:26:45 +02:00
parent f82074a56e
commit 4c43482fc4
No known key found for this signature in database
GPG key ID: 31B40D33E3465483

View file

@ -616,7 +616,6 @@ if (block_enabled) {
ariaLabel: config.title,
canMakePayment: async () => {
if (!paypalScriptPromise) {
config.scriptData.url_params.components = 'buttons';
paypalScriptPromise = loadPaypalScriptPromise(config.scriptData);
paypalScriptPromise.then(() => {
const messagesBootstrap = new BlockCheckoutMessagesBootstrap(config.scriptData);