mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 15:15:22 +03:00
Fix lint
This commit is contained in:
parent
410cdf92dc
commit
61d652659e
@ -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]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user