From 30dc66db7c6bec2e4163dc46d452006852074cd7 Mon Sep 17 00:00:00 2001 From: Ozzie Gooen Date: Thu, 26 May 2022 17:21:17 -0400 Subject: [PATCH] Ran prettier --- packages/components/src/components/FunctionChart1Dist.tsx | 2 +- packages/components/src/components/FunctionChart1Number.tsx | 5 ++++- packages/components/src/components/JsonEditor.tsx | 5 +---- packages/components/src/components/SquigglePlayground.tsx | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) 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 ? (