diff --git a/lib/cli/src/version.ts b/lib/cli/src/version.ts index b65aae5b..6928894f 100644 --- a/lib/cli/src/version.ts +++ b/lib/cli/src/version.ts @@ -1,5 +1,5 @@ // latest version of netzo/cli (see https://github.com/netzo/netzo/releases) -export const VERSION = "0.5.104"; +export const VERSION = "0.5.105"; // minimum version of Deno required to run this CLI // (see https://github.com/denoland/deployctl/blob/main/src/version.ts) diff --git a/lib/components/blocks/plot.tsx b/lib/components/blocks/plot.tsx index 78f4ac78..4445ae26 100644 --- a/lib/components/blocks/plot.tsx +++ b/lib/components/blocks/plot.tsx @@ -19,15 +19,15 @@ export * from "../../deps/@observablehq/plot.ts"; * @returns {JSX.Element} the plot figure */ export function Figure({ options }: { options: Plot.PlotOptions }) { - const containerRef = useRef(); + const containerRef = useRef(); // replace client-side rendered plot with client-side (hydrated) plot entirely if (IS_BROWSER) { useEffect(() => { - // FIXME: use something like .replaceWith() instead of .append()/.remove() to avoid + // FIXME: figure out how to use .replaceWith() instead of .append()/.remove() to avoid // flickering on first client-side render without breaking hydration (e.g. tooltips) const plot = Plot.plot(options); - containerRef.current.append(plot); + containerRef.current!.append(plot); return () => plot.remove(); }, [options]);