@use-glyph/sdk-react 2.0.10 → 2.0.11
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/glyph-widget.umd.js +1 -1
- package/dist/glyph-widget.umd.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31069,11 +31069,11 @@ const kB = (e) => /* @__PURE__ */ S("svg", { xmlns: "http://www.w3.org/2000/svg"
|
|
|
31069
31069
|
) : /* @__PURE__ */ c(kB, { style: { width: "100%", height: "100%" }, ...a }) });
|
|
31070
31070
|
};
|
|
31071
31071
|
function AB() {
|
|
31072
|
-
const { glyphUrl: e, balances: t, hasBalances: r } = Me(), [n, a] = re(""), s = t?.nfts || [], o = t?.wallet_value?.nfts
|
|
31072
|
+
const { glyphUrl: e, balances: t, hasBalances: r } = Me(), [n, a] = re(""), s = t?.nfts || [], o = t?.wallet_value?.nfts, i = new URL("/nfts", e).toString();
|
|
31073
31073
|
return /* @__PURE__ */ S("div", { className: "gw-pl-4 gw-pt-4 gw-flex gw-flex-col gw-h-full", children: [
|
|
31074
31074
|
/* @__PURE__ */ S("div", { className: "gw-flex gw-mb-2 gw-flex-row gw-justify-between gw-items-center gw-w-full gw-flex-shrink-0 gw-pr-4", children: [
|
|
31075
31075
|
/* @__PURE__ */ c("h6", { children: "My NFTs" }),
|
|
31076
|
-
/* @__PURE__ */ c("div", { className: "gw-typography-body2", children: /* @__PURE__ */ c("span", { className: "amount", children: Ge(o, t?.wallet_value?.currency, s.length > 0) }) })
|
|
31076
|
+
o ? /* @__PURE__ */ c("div", { className: "gw-typography-body2", children: /* @__PURE__ */ c("span", { className: "amount", children: Ge(o, t?.wallet_value?.currency, s.length > 0) }) }) : null
|
|
31077
31077
|
] }),
|
|
31078
31078
|
r && s?.length ? /* @__PURE__ */ S("div", { className: "gw-flex gw-flex-col gw-flex-1 gw-min-h-0", children: [
|
|
31079
31079
|
/* @__PURE__ */ c("div", { className: "gw-flex-1 gw-min-h-0 gw-overflow-auto", children: /* @__PURE__ */ c(
|