X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=resources%2Fjs%2Fcomponents%2Fresults%2FList.js;h=911b6a53ba5526a70cb9073963190e6d0883949e;hb=167f986f468014e00d82fa2df8193f6be8dca19d;hp=11eb9a8f4f5eb1f07b7aaa7a13efb431de0923ec;hpb=edd0e97bfdc544114f30bf4c13a929631c44a555;p=alttp.git diff --git a/resources/js/components/results/List.js b/resources/js/components/results/List.js index 11eb9a8..911b6a5 100644 --- a/resources/js/components/results/List.js +++ b/resources/js/components/results/List.js @@ -2,24 +2,56 @@ import PropTypes from 'prop-types'; import React from 'react'; import Item from './Item'; +import { sortByFinished, sortByResult } from '../../helpers/Participant'; +import { maySeeResults } from '../../helpers/permissions'; +import { getRunners } from '../../helpers/Tournament'; +import { compareResult } from '../../helpers/Result'; +import { useUser } from '../../hooks/user'; -const List = ({ round, tournament }) =>