Skip to content

Commit 33ca0d4

Browse files
committed
fixed ts
1 parent 35c533e commit 33ca0d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/StateRoute/PerformanceVisx/BarGraphComparison.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
9090
if (currentSeriesBarStacks.length === 0) return 0;
9191
let currentMax = -Infinity;
9292
for (let i = 0; i < currentSeriesBarStacks.length; i += 1) {
93-
const renderTimes = Object.values(currentSeriesBarStacks[i]).slice(1);
93+
const renderTimes: number[] = Object.values(currentSeriesBarStacks[i]).slice(1);
9494
const renderTotal: number = renderTimes.reduce((acc, curr) => acc + curr);
9595
if (renderTotal > currentMax) currentMax = renderTotal;
9696
}

0 commit comments

Comments
 (0)