@loafmarkets/ui 0.1.323 → 0.1.325
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/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6607,10 +6607,11 @@ var LoginPopup = ({
|
|
|
6607
6607
|
}
|
|
6608
6608
|
setFundingError("");
|
|
6609
6609
|
setCryptoFundingLoading(true);
|
|
6610
|
-
const fundPromise = onFundWallet({ amount: fundingAmount, mode: "crypto" });
|
|
6611
|
-
onClose();
|
|
6612
6610
|
try {
|
|
6613
|
-
await
|
|
6611
|
+
const result = await onFundWallet({ amount: fundingAmount, mode: "crypto" });
|
|
6612
|
+
if (result?.funded) {
|
|
6613
|
+
onClose();
|
|
6614
|
+
}
|
|
6614
6615
|
} catch (err) {
|
|
6615
6616
|
console.error("[LoginPopup] crypto fund flow failed", err);
|
|
6616
6617
|
} finally {
|
|
@@ -6910,7 +6911,7 @@ var LoginPopup = ({
|
|
|
6910
6911
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M22 10H18a2 2 0 0 0 0 4h4" })
|
|
6911
6912
|
] }),
|
|
6912
6913
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { flex: 1 }, children: [
|
|
6913
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { color: "#fff", fontWeight: 600, fontSize: "0.95rem", marginBottom: "0.25rem" }, children: cryptoFundingLoading ? "Opening
|
|
6914
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { color: "#fff", fontWeight: 600, fontSize: "0.95rem", marginBottom: "0.25rem" }, children: cryptoFundingLoading ? "Opening\u2026" : "Digital Asset Deposit" }),
|
|
6914
6915
|
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { color: "rgba(255,255,255,0.5)", fontSize: "0.8rem" }, children: "Deposit USDC from an exchange or wallet" })
|
|
6915
6916
|
] })
|
|
6916
6917
|
] }),
|