@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.
- package/dist/{chunk-734WE4WK.mjs → chunk-FLEEMUIJ.mjs} +5 -2
- package/dist/{chunk-734WE4WK.mjs.map → chunk-FLEEMUIJ.mjs.map} +1 -1
- package/dist/{chunk-DTHB4OQD.mjs → chunk-OZ3WBUHE.mjs} +2 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +2 -2
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-DTHB4OQD.mjs.map → chunk-OZ3WBUHE.mjs.map} +0 -0
|
@@ -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-
|
|
3712
|
+
//# sourceMappingURL=chunk-FLEEMUIJ.mjs.map
|