X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fresults%2FList.js;h=f4d4ff10ee502130f44f65a9e03762347100d692;hb=d32516335ea2534e15256c948e9c38d3de40794b;hp=9ad089632c5b6e035c9799646cf3a178fe5c4d8e;hpb=d920d896d4357289112e31d3b33d386ab754a12d;p=alttp.git diff --git a/resources/js/components/results/List.js b/resources/js/components/results/List.js index 9ad0896..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 => + {sortByResult(getRunners(tournament), round).map(participant =>