X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Ftournament%2FScoreboard.js;h=27bb0873a4d7c75d4de6a3b15f25f1d514a07713;hb=HEAD;hp=008974b7cc76ce1b8f362707f0dfb6fdcead4ee0;hpb=1c3b922ba7143a548c8a7526f5e4384f336e2f1e;p=alttp.git diff --git a/resources/js/components/tournament/Scoreboard.js b/resources/js/components/tournament/Scoreboard.js deleted file mode 100644 index 008974b..0000000 --- a/resources/js/components/tournament/Scoreboard.js +++ /dev/null @@ -1,33 +0,0 @@ -import PropTypes from 'prop-types'; -import React from 'react'; -import { Table } from 'react-bootstrap'; -import { withTranslation } from 'react-i18next'; - -import Box from '../users/Box'; -import { calculateScores } from '../../helpers/Tournament'; -import i18n from '../../i18n'; - -const Scoreboard = ({ tournament }) => - - - - - - - - - {calculateScores(tournament).map(score => - - - - - )} - -
{i18n.t('participants.participant')}{i18n.t('participants.score')}
{score.score}
; - -Scoreboard.propTypes = { - tournament: PropTypes.shape({ - }), -}; - -export default withTranslation()(Scoreboard);