Skip to content

Commit

Permalink
Removed consolelog, updated buy now button ID to fix cypress test
Browse files Browse the repository at this point in the history
  • Loading branch information
aratidgr8 committed Jul 9, 2024
1 parent 2d01789 commit 17b75b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => '00b6e1a8934a20cd1b5d');
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => 'ad0865dcf5b7fbb3fd3f');
3 changes: 1 addition & 2 deletions src/components/WonderCart.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ export function WonderCart(props) {
.status("woocommerce", "nfd_slug_wonder_cart")
.then(wonderCartParser),
{ refreshInterval: 30 * 1000 }
);
console.log("wonderCartStatus", wonderCartStatus);
);
const canAccessGlobalCTB = NewfoldRuntime.hasCapability("canAccessGlobalCTB");
const hasYithExtended = NewfoldRuntime.hasCapability("hasYithExtended");

Expand Down
2 changes: 1 addition & 1 deletion src/components/WonderCartNonEcommerce.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function WonderCartNonEcommerce() {
data-action="load-nfd-ctb"
target="_blank"
rel="noopener"
id="buy-ecommerce-addon-btn"
id="buynow-wondercart"
>
<LockIcon className="nfd-w-5 nfd-h-5 nfd--ml-1 nfd-shrink-0" />
{__("Buy Now", "wp-module-ecommerce")}
Expand Down

0 comments on commit 17b75b8

Please sign in to comment.