@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/index.mjs
CHANGED
|
@@ -2678,7 +2678,7 @@ var useUpdatePlusMemberDeliveryOptions = ({
|
|
|
2678
2678
|
const { deliveryData } = arg;
|
|
2679
2679
|
const firstDeliveryGroup = currentCart?.deliveryGroups?.[0];
|
|
2680
2680
|
const deliveryGroupId = firstDeliveryGroup?.id;
|
|
2681
|
-
const selectedOptionCode = deliveryData?.deliveryCustomData?.selected_delivery_option;
|
|
2681
|
+
const selectedOptionCode = deliveryData?.deliveryCustomData?.selected_delivery_option?.code;
|
|
2682
2682
|
if (!deliveryGroupId || !selectedOptionCode || selectedOptionCode === firstDeliveryGroup?.selectedDeliveryOption?.code) {
|
|
2683
2683
|
return null;
|
|
2684
2684
|
}
|