mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Fix typo in variable name
This commit is contained in:
parent
03d2eed36b
commit
fad6c27ae4
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ const bootstrap = () => {
|
|||
const messageRenderer = new MessageRenderer(PayPalCommerceGateway.messages);
|
||||
const context = PayPalCommerceGateway.context;
|
||||
if (context === 'mini-cart' || context === 'product') {
|
||||
if (PayPalCommerceGateway.mini_card_buttons_enabled === '1') {
|
||||
if (PayPalCommerceGateway.mini_cart_buttons_enabled === '1') {
|
||||
const miniCartBootstrap = new MiniCartBootstap(
|
||||
PayPalCommerceGateway,
|
||||
renderer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue