@gardenfi/garden-book 0.1.48 → 0.1.50
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/ui.cjs.js +1 -1
- package/dist/ui.es.js +6 -2
- package/dist/ui.umd.js +1 -1
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -13335,7 +13335,7 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
13335
13335
|
},
|
|
13336
13336
|
{
|
|
13337
13337
|
title: "Explorer",
|
|
13338
|
-
link: "https://
|
|
13338
|
+
link: "https://explorer.garden.finance",
|
|
13339
13339
|
isExternal: !0
|
|
13340
13340
|
}
|
|
13341
13341
|
]
|
|
@@ -14174,7 +14174,11 @@ const placeholderUrl = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%2
|
|
|
14174
14174
|
className: n,
|
|
14175
14175
|
thumbnailClassName: a
|
|
14176
14176
|
}) => {
|
|
14177
|
-
const [o, f] = useState(!1), [l, p] = useState(e ?? placeholderUrl)
|
|
14177
|
+
const [o, f] = useState(!1), [l, p] = useState(e ?? placeholderUrl);
|
|
14178
|
+
useEffect(() => {
|
|
14179
|
+
p(e ?? placeholderUrl);
|
|
14180
|
+
}, [e]);
|
|
14181
|
+
const m = () => {
|
|
14178
14182
|
p(placeholderUrl);
|
|
14179
14183
|
};
|
|
14180
14184
|
return /* @__PURE__ */ jsx(Opacity, { level: "semi-dark", className: "gf-rounded-2xl h-full", children: /* @__PURE__ */ jsxs("div", { className: cn(n, "gf-overflow-hidden gf-rounded-2xl"), children: [
|