@anker-in/shopify-react 0.1.1-beta.5 → 0.1.1-beta.6
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.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/{index-BTb1ZIF-.d.ts → index-AJXjqRBR.d.ts} +1 -1
- package/dist/{index-eFsqDs13.d.mts → index-B9HdNo3a.d.mts} +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/hooks/index.mjs
CHANGED
|
@@ -2659,10 +2659,10 @@ function useAddPlusMemberProductsToCart({
|
|
|
2659
2659
|
if (selectedPlusMemberMode === "annual" /* ANNUAL */ && hasAnnualPlus) {
|
|
2660
2660
|
return void 0;
|
|
2661
2661
|
}
|
|
2662
|
-
if (profile
|
|
2662
|
+
if (profile?.isMonthlyPlus && selectedPlusMemberMode === "monthly" /* MONTHLY */) {
|
|
2663
2663
|
return void 0;
|
|
2664
2664
|
}
|
|
2665
|
-
if (!profile
|
|
2665
|
+
if (!profile?.isAnnualPlus && selectedPlusMemberMode === "annual" /* ANNUAL */) {
|
|
2666
2666
|
return void 0;
|
|
2667
2667
|
}
|
|
2668
2668
|
return selectedPlusMemberProduct;
|