X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fresults%2FList.js;h=f4d4ff10ee502130f44f65a9e03762347100d692;hb=82b95e7542824bcdf4f1b245559cb1c93f4eafdd;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..f4d4ff1 100644 --- a/resources/js/components/results/List.js +++ b/resources/js/components/results/List.js @@ -3,9 +3,10 @@ import React from 'react'; import Item from './Item'; import { sortByResult } from '../../helpers/Participant'; +import { getRunners } from '../../helpers/Tournament'; -const List = ({ round, tournament }) =>
- {sortByResult(tournament.participants, round).map(participant => +const List = ({ round, tournament }) =>
+ {sortByResult(getRunners(tournament), round).map(participant =>