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=448736a97bef7ee787ba6b7987f66ec9f370ced8;hb=14bee4bbb112ddab53914fa777be6004debeb5c4;hp=11eb9a8f4f5eb1f07b7aaa7a13efb431de0923ec;hpb=b115fcfcad6c2798cffad9a166c4886cfe1eed6f;p=alttp.git diff --git a/resources/js/components/results/List.js b/resources/js/components/results/List.js index 11eb9a8..448736a 100644 --- a/resources/js/components/results/List.js +++ b/resources/js/components/results/List.js @@ -2,9 +2,10 @@ import PropTypes from 'prop-types'; import React from 'react'; import Item from './Item'; +import { sortByResult } from '../../helpers/Participant'; const List = ({ round, tournament }) =>
- {tournament.participants.map(participant => + {sortByResult(tournament.participants, round).map(participant =>