@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.
@@ -5086,7 +5086,10 @@ var useDeleteCoupon = () => {
5086
5086
  return { deleteCoupon, error, loading };
5087
5087
  };
5088
5088
  var useScanCoupon = () => {
5089
- const [scanCoupon, { loading, error }] = (0, import_client80.useMutation)(SCAN_COUPON_MUTATION);
5089
+ const [scanCoupon, { loading, error }] = (0, import_client80.useMutation)(SCAN_COUPON_MUTATION, {
5090
+ awaitRefetchQueries: true,
5091
+ refetchQueries: [{ query: GET_COUPONS }]
5092
+ });
5090
5093
  return { error, loading, scanCoupon };
5091
5094
  };
5092
5095