import Item from './Item';
import { sortByResult } from '../../helpers/Participant';
+import { getRunners } from '../../helpers/Tournament';
const List = ({ round, tournament }) => <div className="results d-flex flex-wrap">
- {sortByResult(tournament.participants, round).map(participant =>
+ {sortByResult(getRunners(tournament), round).map(participant =>
<Item
key={participant.id}
participant={participant}