Adjust the title and image header to new API data

This commit is contained in:
JP1998 2019-05-29 04:06:06 +02:00
parent da4b5ac2e5
commit d24e464f8e
1 changed files with 3 additions and 3 deletions

View File

@ -191,12 +191,12 @@ class StatisticsTournamentPage extends React.Component {
return (
<div>
<Head>
<title>{tournamentStatistics.tournament.name}: turnie.re</title>
<title>{tournamentStatistics.name}: turnie.re</title>
</Head>
<TurniereNavigation/>
<BigImage text={tournamentStatistics.tournament.name}/>
<BigImage text={tournamentStatistics.name}/>
<div className='pb-5'>
<TournamentInformationView tournament={tournamentStatistics.tournament} currentpage='statistics'/>
<TournamentInformationView tournament={tournamentStatistics} currentpage='statistics'/>
<Container className="py-5">
<Row>
<Col xs="6">