@gardenfi/garden-book 0.1.49 → 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.es.js CHANGED
@@ -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), m = () => {
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: [