Format and fix CI bugs

This commit is contained in:
Sam Nolan 2022-05-02 18:59:52 +00:00
parent d660845d37
commit 17a5f948fe

View File

@ -24,9 +24,9 @@ export const DistributionChart: React.FC<DistributionChartProps> = ({
height,
width,
}: DistributionChartProps) => {
let [isLogX, setLogX] = React.useState(false);
let [isExpY, setExpY] = React.useState(false);
const [sized, _] = useSize((size) => {
let [isLogX, setLogX] = React.useState(false);
let [isExpY, setExpY] = React.useState(false);
let shape = distribution.pointSet();
if (shape.tag === "Ok") {
let spec = buildSpec(isLogX, isExpY, shape.value);