chore: linting

This commit is contained in:
zhom
2026-03-28 20:55:10 +04:00
parent 248927ae6f
commit d0e3e15fd3
61 changed files with 1179 additions and 835 deletions
-6
View File
@@ -46,12 +46,6 @@ export function BandwidthMiniChart({
return result;
}, [data]);
// Find max value for scaling
const _maxBandwidth = React.useMemo(() => {
const max = Math.max(...chartData.map((d) => d.bandwidth), 1);
return max;
}, [chartData]);
// Use external bandwidth if provided, otherwise calculate from last data point
const currentBandwidth =
externalBandwidth ?? chartData[chartData.length - 1]?.bandwidth ?? 0;