ISSUE-054 - Last minute clean-up.
This commit is contained in:
1 parent
6e80ed056f
commit
660b9e6651
2 files changed
+2
-10
No files matched your search
@@ -57,14 +57,12 @@ export function TimingTower() {
|
||||
});
|
||||
setRetiredCarsCount(retiredCount);
|
||||
|
||||
setRows(startingGrid.map((car, index, grid) =>
|
||||
buildRow(car, index, startingGrid.length, retiredCount)));
|
||||
setRows(startingGrid.map(car => buildRow(car, startingGrid.length, retiredCount)));
|
||||
}, [lastUpdate, splitsMode]);
|
||||
|
||||
|
||||
const buildRow = (
|
||||
car: Car,
|
||||
index: number,
|
||||
startingCarsCount: number,
|
||||
retiredCarsCount: number,
|
||||
) => {
|
||||
|
||||
Reference in new issue
Block a user