@matchain/matchid-sdk-react 0.1.37-alpha.5 → 0.1.37-alpha.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.
@@ -2395,11 +2395,14 @@ function CEXBindModal({
2395
2395
  type: "cex_" + type
2396
2396
  });
2397
2397
  onClose();
2398
+ } else {
2399
+ throw new Error(res.message);
2398
2400
  }
2399
- setLoading(false);
2400
2401
  } catch (error2) {
2401
2402
  console.error(error2);
2402
2403
  setError(error2.message);
2404
+ } finally {
2405
+ setLoading(false);
2403
2406
  }
2404
2407
  };
2405
2408
  return /* @__PURE__ */ jsx23(ModalWithHeader, { showClose: true, isOpen, onClose, title: intl.formatMessage({
@@ -3706,4 +3709,4 @@ export {
3706
3709
  MatchProvider,
3707
3710
  useMatch
3708
3711
  };
3709
- //# sourceMappingURL=chunk-734WE4WK.mjs.map
3712
+ //# sourceMappingURL=chunk-FLEEMUIJ.mjs.map