]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/tournament/Detail.js
switch participant list to scoreboard
[alttp.git] / resources / js / components / tournament / Detail.js
index 912d2a26d58df7a0aedcdfd87a3249353bc1b949..1dae1b31ba52d720fe2e59c72ce594bdbbece960 100644 (file)
@@ -3,7 +3,7 @@ import React from 'react';
 import { Button, Container } from 'react-bootstrap';
 import { withTranslation } from 'react-i18next';
 
-import Participants from '../participants/List';
+import Scoreboard from './Scoreboard';
 import Protocol from '../protocol/Protocol';
 import Rounds from '../rounds/List';
 import {
@@ -25,10 +25,10 @@ const Detail = ({
                : null}
        </div>
        <div className="d-flex align-items-center justify-content-between">
-               <h2>{i18n.t('participants.heading')}</h2>
+               <h2>{i18n.t('tournaments.scoreboard')}</h2>
        </div>
        {tournament.participants ?
-               <Participants participants={tournament.participants} tournament={tournament} />
+               <Scoreboard tournament={tournament} />
        : null}
        <div className="d-flex align-items-center justify-content-between">
                <h2>{i18n.t('rounds.heading')}</h2>