diff --git a/packages/components/src/components/FunctionChart1Dist.tsx b/packages/components/src/components/FunctionChart1Dist.tsx index e1d8333c..2090af44 100644 --- a/packages/components/src/components/FunctionChart1Dist.tsx +++ b/packages/components/src/components/FunctionChart1Dist.tsx @@ -150,7 +150,7 @@ export const FunctionChart1Dist: React.FC = ({ fn, chartSettings, environment, - height + height, }: FunctionChartProps) => { let [mouseOverlay, setMouseOverlay] = React.useState(0); function handleHover(_name: string, value: unknown) { diff --git a/packages/components/src/components/FunctionChart1Number.tsx b/packages/components/src/components/FunctionChart1Number.tsx index 4dae8cf0..b07b9263 100644 --- a/packages/components/src/components/FunctionChart1Number.tsx +++ b/packages/components/src/components/FunctionChart1Number.tsx @@ -129,7 +129,10 @@ export const FunctionChart1Number: React.FC = ({ [environment, fn] ); - let data = getFunctionImageMemoized.functionImage.map(({x, value}) => ({x, y:value})) + let data = getFunctionImageMemoized.functionImage.map(({ x, value }) => ({ + x, + y: value, + })); return ( <> = ({ }; return ( - + {vars.showSettingsPage ? (