diff --git a/web/src/components/graph/SystemGraph.tsx b/web/src/components/graph/SystemGraph.tsx index f64d94ad2..098a1957e 100644 --- a/web/src/components/graph/SystemGraph.tsx +++ b/web/src/components/graph/SystemGraph.tsx @@ -37,6 +37,7 @@ export function ThresholdBarGraph({ return undefined; } + // @ts-expect-error y is valid const yValues: number[] = data[0].data.map((point) => point?.y); return Math.max(threshold.warning, ...yValues); }, [data, threshold, unit]);