@anker-in/shopify-react 0.1.1-beta.14 → 0.1.1-beta.15
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 +2 -2
- package/dist/hooks/index.d.ts +2 -2
- 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-D9zCMHzm.d.ts → index-Bfg4hT-O.d.ts} +1 -1
- package/dist/{index-Bp9gEGUb.d.mts → index-DGaexgLe.d.mts} +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- 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/dist/provider/index.d.mts +1 -1
- package/dist/provider/index.d.ts +1 -1
- package/dist/{types-DpxtE_nv.d.mts → types-DX-2ABDs.d.mts} +4 -1
- package/dist/{types-DpxtE_nv.d.ts → types-DX-2ABDs.d.ts} +4 -1
- package/package.json +1 -1
package/dist/hooks/index.mjs
CHANGED
|
@@ -2581,7 +2581,7 @@ var useUpdatePlusMemberDeliveryOptions = ({
|
|
|
2581
2581
|
const { deliveryData } = arg;
|
|
2582
2582
|
const firstDeliveryGroup = currentCart?.deliveryGroups?.[0];
|
|
2583
2583
|
const deliveryGroupId = firstDeliveryGroup?.id;
|
|
2584
|
-
const selectedOptionCode = deliveryData?.deliveryCustomData?.selected_delivery_option;
|
|
2584
|
+
const selectedOptionCode = deliveryData?.deliveryCustomData?.selected_delivery_option?.code;
|
|
2585
2585
|
if (!deliveryGroupId || !selectedOptionCode || selectedOptionCode === firstDeliveryGroup?.selectedDeliveryOption?.code) {
|
|
2586
2586
|
return null;
|
|
2587
2587
|
}
|