mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Refactor styles loading on GooglePay and ApplePay
Remove unnecessary console.log on GooglePay and ApplePay
This commit is contained in:
parent
567a7a2065
commit
b11a539c24
6 changed files with 56 additions and 21 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue