@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.
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/hooks/index.js
CHANGED
|
@@ -1006,7 +1006,7 @@ var initSameLinesAttributes = ({
|
|
|
1006
1006
|
line
|
|
1007
1007
|
}) => {
|
|
1008
1008
|
const sameLineInCart = cart?.lineItems.find(
|
|
1009
|
-
(lineInCart) => lineInCart.variant.
|
|
1009
|
+
(lineInCart) => lineInCart.variant.id === line.variant?.id
|
|
1010
1010
|
);
|
|
1011
1011
|
const codeAmountAttribute = sameLineInCart?.customAttributes?.find(
|
|
1012
1012
|
(attr) => attr.key === CODE_AMOUNT_KEY
|