Skip to content

Commit

Permalink
Rollback redundant refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferri0 committed Feb 17, 2025
1 parent c0dfc7c commit 84fff60
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions blocks/commerce-cart/commerce-cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ export default async function decorate(block) {
routeProduct: (product) => `/products/${product.url.urlKey}/${product.topLevelSku}`,
routeEmptyCartCTA: startShoppingURL ? () => startShoppingURL : undefined,
maxItems: parseInt(maxItems, 10) || undefined,
attributesToHide: hideAttributes
.split(',')
.map((attr) => attr.trim().toLowerCase()),
attributesToHide: hideAttributes.split(',').map((attr) => attr.trim().toLowerCase()),
enableUpdateItemQuantity: enableUpdateItemQuantity === 'true',
enableRemoveItem: enableRemoveItem === 'true',
slots: {
Expand Down

0 comments on commit 84fff60

Please sign in to comment.