Format and fix CI bugs
This commit is contained in:
parent
d660845d37
commit
17a5f948fe
|
@ -24,9 +24,9 @@ export const DistributionChart: React.FC<DistributionChartProps> = ({
|
||||||
height,
|
height,
|
||||||
width,
|
width,
|
||||||
}: DistributionChartProps) => {
|
}: DistributionChartProps) => {
|
||||||
const [sized, _] = useSize((size) => {
|
|
||||||
let [isLogX, setLogX] = React.useState(false);
|
let [isLogX, setLogX] = React.useState(false);
|
||||||
let [isExpY, setExpY] = React.useState(false);
|
let [isExpY, setExpY] = React.useState(false);
|
||||||
|
const [sized, _] = useSize((size) => {
|
||||||
let shape = distribution.pointSet();
|
let shape = distribution.pointSet();
|
||||||
if (shape.tag === "Ok") {
|
if (shape.tag === "Ok") {
|
||||||
let spec = buildSpec(isLogX, isExpY, shape.value);
|
let spec = buildSpec(isLogX, isExpY, shape.value);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user