From e0a02733097cf97ac791095debfbc7ac69224285 Mon Sep 17 00:00:00 2001 From: Sylvia Crowe Date: Wed, 15 May 2024 13:04:16 -0700 Subject: [PATCH] fix: switch input to textarea --- frontend/app/block/plotblock.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/app/block/plotblock.tsx b/frontend/app/block/plotblock.tsx index 33608a8be..04653e027 100644 --- a/frontend/app/block/plotblock.tsx +++ b/frontend/app/block/plotblock.tsx @@ -38,7 +38,7 @@ function PlotBlock() { React.useEffect(() => { // replace start /* - d3.csv("/plotdata/congress.csv", d3.autoType).then((out) => data = out) + d3.csv("/plotdata/congress.csv", d3.autoType).then((out) => data = out); return Plot.plot({ aspectRatio: 1, x: { label: "Age (years)" }, @@ -92,8 +92,9 @@ function PlotBlock() { return (
+ ß
- setPlotDef(e.target.value)} /> +