We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35c533e commit 33ca0d4Copy full SHA for 33ca0d4
src/app/components/StateRoute/PerformanceVisx/BarGraphComparison.tsx
@@ -90,7 +90,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
90
if (currentSeriesBarStacks.length === 0) return 0;
91
let currentMax = -Infinity;
92
for (let i = 0; i < currentSeriesBarStacks.length; i += 1) {
93
- const renderTimes = Object.values(currentSeriesBarStacks[i]).slice(1);
+ const renderTimes: number[] = Object.values(currentSeriesBarStacks[i]).slice(1);
94
const renderTotal: number = renderTimes.reduce((acc, curr) => acc + curr);
95
if (renderTotal > currentMax) currentMax = renderTotal;
96
}
0 commit comments