Fix typo in variable name

This commit is contained in:
dinamiko 2021-07-13 09:43:30 +02:00
parent 03d2eed36b
commit fad6c27ae4
2 changed files with 2 additions and 2 deletions

View file

@ -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