Skip to content

Commit c29406c

Browse files
committed
added return ts for currentSeriesBarStacks
1 parent 75146d1 commit c29406c

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
@@ -82,7 +82,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
8282
// We'll then use it in the renderingScale function and compare
8383
// with the render time of the current tab.
8484
// The max render time will determine the Y-axis's highest number.
85-
const calculateMaxTotalRender = (serie: string) => {
85+
const calculateMaxTotalRender = (serie: string): number => {
8686
const currentSeriesBarStacks: number[] = !comparison[serie]
8787
? []
8888
: comparison[serie].data.barStack;

0 commit comments

Comments
 (0)