]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/results/List.js
number rounds and results
[alttp.git] / resources / js / components / results / List.js
index 9ad089632c5b6e035c9799646cf3a178fe5c4d8e..8775529493d6d9909ff1cf3fd9674b41ca62edb7 100644 (file)
@@ -5,8 +5,9 @@ import Item from './Item';
 import { sortByResult } from '../../helpers/Participant';
 
 const List = ({ round, tournament }) => <div className="results d-flex flex-wrap">
-       {sortByResult(tournament.participants, round).map(participant =>
+       {sortByResult(tournament.participants, round).map((participant, index) =>
                <Item
+                       index={index}
                        key={participant.id}
                        participant={participant}
                        round={round}