Refactor styles loading on GooglePay and ApplePay

Remove unnecessary console.log on GooglePay and ApplePay
This commit is contained in:
Pedro Silva 2023-10-19 18:44:44 +01:00
parent 567a7a2065
commit b11a539c24
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
6 changed files with 56 additions and 21 deletions

View file

@ -20,7 +20,6 @@ import ApplepayManager from "./ApplepayManager";
(typeof (buttonConfig) === 'undefined') ||
(typeof (ppcpConfig) === 'undefined')
) {
console.error('PayPal button could not be configured.');
return;
}
const isMiniCart = ppcpConfig.mini_cart_buttons_enabled;