@anker-in/shopify-react 1.2.2-beta.4 → 1.2.2-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -997,7 +997,7 @@ var initSameLinesAttributes = ({
997
997
  line
998
998
  }) => {
999
999
  const sameLineInCart = cart?.lineItems.find(
1000
- (lineInCart) => lineInCart.variant.sku === line.variant?.sku && lineInCart.product?.handle === line.variant?.product?.handle
1000
+ (lineInCart) => lineInCart.variant.id === line.variant?.id
1001
1001
  );
1002
1002
  const codeAmountAttribute = sameLineInCart?.customAttributes?.find(
1003
1003
  (attr) => attr.key === CODE_AMOUNT_KEY