Skip to content

Commit b99e359

Browse files
committed
Added typescript to const actionsList and const animateButton
1 parent ad7687d commit b99e359

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
@@ -192,7 +192,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
192192
classname[i].addEventListener('click', animateButton, false);
193193
}
194194
const seriesList: ActionObj[][] = comparison.map((series: Series) => series.data.barStack);
195-
const actionsList = seriesList.flat();
195+
const actionsList: ActionObj[] = seriesList.flat();
196196
const testList = actionsList.map((elem: ActionObj) => elem.name);
197197

198198
const finalList = [];

0 commit comments

Comments
 (0)