Ran prettier

This commit is contained in:
Ozzie Gooen 2022-05-26 17:21:17 -04:00
parent f5474030ec
commit 30dc66db7c
4 changed files with 7 additions and 7 deletions

View File

@ -150,7 +150,7 @@ export const FunctionChart1Dist: React.FC<FunctionChartProps> = ({
fn,
chartSettings,
environment,
height
height,
}: FunctionChartProps) => {
let [mouseOverlay, setMouseOverlay] = React.useState(0);
function handleHover(_name: string, value: unknown) {

View File

@ -129,7 +129,10 @@ export const FunctionChart1Number: React.FC<FunctionChartProps> = ({
[environment, fn]
);
let data = getFunctionImageMemoized.functionImage.map(({x, value}) => ({x, y:value}))
let data = getFunctionImageMemoized.functionImage.map(({ x, value }) => ({
x,
y: value,
}));
return (
<>
<SquiggleLineChart

View File

@ -4,10 +4,7 @@ import AceEditor from "react-ace";
import "ace-builds/src-noconflict/mode-json";
import "ace-builds/src-noconflict/theme-github";
import {
jsImports,
defaultImports,
} from "@quri/squiggle-lang";
import { jsImports, defaultImports } from "@quri/squiggle-lang";
interface CodeEditorProps {
value: string;