From 61d652659ef6e07167f8b12c7862327812797c0c Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 16 Sep 2024 16:38:31 -0600 Subject: [PATCH] Fix lint --- web/src/components/graph/SystemGraph.tsx | 1 + 1 file changed, 1 insertion(+) 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]);