]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/rounds/List.js
number rounds and results
[alttp.git] / resources / js / components / rounds / List.js
index 2ac8f1701d9074094e705035c928f326dd5522f4..928f7b97eac3bb4f5882ae0b35780f942abe1ba7 100644 (file)
@@ -11,8 +11,9 @@ const List = ({
        tournament,
 }) => rounds && rounds.length ?
        <ol className="rounds">
-               {rounds.map(round =>
+               {rounds.map((round, index) =>
                        <Item
+                               index={index}
                                key={round.id}
                                round={round}
                                tournament={tournament}