@timardex/cluemart-shared 1.7.47 → 1.7.48
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/{chunk-PDKFX6QC.mjs → chunk-XSLKSCCI.mjs} +5 -2
- package/dist/{chunk-PDKFX6QC.mjs.map → chunk-XSLKSCCI.mjs.map} +1 -1
- package/dist/graphql/index.cjs +4 -1
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3765,7 +3765,10 @@ var useDeleteCoupon = () => {
|
|
|
3765
3765
|
return { deleteCoupon, error, loading };
|
|
3766
3766
|
};
|
|
3767
3767
|
var useScanCoupon = () => {
|
|
3768
|
-
const [scanCoupon, { loading, error }] = useMutation20(SCAN_COUPON_MUTATION
|
|
3768
|
+
const [scanCoupon, { loading, error }] = useMutation20(SCAN_COUPON_MUTATION, {
|
|
3769
|
+
awaitRefetchQueries: true,
|
|
3770
|
+
refetchQueries: [{ query: GET_COUPONS }]
|
|
3771
|
+
});
|
|
3769
3772
|
return { error, loading, scanCoupon };
|
|
3770
3773
|
};
|
|
3771
3774
|
|
|
@@ -3941,4 +3944,4 @@ export {
|
|
|
3941
3944
|
useGetCoupons,
|
|
3942
3945
|
useGetCoupon
|
|
3943
3946
|
};
|
|
3944
|
-
//# sourceMappingURL=chunk-
|
|
3947
|
+
//# sourceMappingURL=chunk-XSLKSCCI.mjs.map
|