X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fresults%2FList.js;h=8775529493d6d9909ff1cf3fd9674b41ca62edb7;hb=920f11ddfeb2175e4e1556886773dcd044c6085b;hp=448736a97bef7ee787ba6b7987f66ec9f370ced8;hpb=14bee4bbb112ddab53914fa777be6004debeb5c4;p=alttp.git diff --git a/resources/js/components/results/List.js b/resources/js/components/results/List.js index 448736a..8775529 100644 --- a/resources/js/components/results/List.js +++ b/resources/js/components/results/List.js @@ -4,9 +4,10 @@ import React from 'react'; import Item from './Item'; import { sortByResult } from '../../helpers/Participant'; -const List = ({ round, tournament }) =>
- {sortByResult(tournament.participants, round).map(participant => +const List = ({ round, tournament }) =>
+ {sortByResult(tournament.participants, round).map((participant, index) =>