X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fresults%2FList.js;fp=resources%2Fjs%2Fcomponents%2Fresults%2FList.js;h=cdd90e847e91785b587ee8376f30912f67ba91f4;hb=eebc6384e56336b66ec250fc2aea3be6171d53ff;hp=8775529493d6d9909ff1cf3fd9674b41ca62edb7;hpb=96f21488ed9c9572e2f00147a1713e24cc77c543;p=alttp.git diff --git a/resources/js/components/results/List.js b/resources/js/components/results/List.js index 8775529..cdd90e8 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, index) => + {sortByResult(getRunners(tournament), round).map((participant, index) =>