From 435f24cef87fbab86bbbbf87194c1fd11d539aed Mon Sep 17 00:00:00 2001 From: Jonny Date: Thu, 2 May 2019 08:19:36 +0200 Subject: [PATCH] Add button to get directly back to the tournament --- pages/tournament-statistics.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pages/tournament-statistics.js b/pages/tournament-statistics.js index ef719ed..ca651bd 100644 --- a/pages/tournament-statistics.js +++ b/pages/tournament-statistics.js @@ -92,7 +92,7 @@ class StatisticsTournamentPage extends React.Component { let tournamentStatistics = { tournament: { code: 'abcd1234', - description: 'The Overwatch League Season 2 Stage 2', + description: 'The Overwatch League Season 2 Stage 1', id: 0xa1, name: 'Overwatch League Season 2019 Stage 1', owner_username: 'Blizzard Entertainment Inc.', @@ -264,6 +264,7 @@ class PrivateTournamentInformationView extends React.Component { return ( +

{tournament.description}

@@ -286,3 +287,9 @@ const TournamentInformationView = connect( mapStateToPrivateTournamentInformationViewProps )(PrivateTournamentInformationView); +class TournamentButton extends React.Component { + render() { + const { id } = this.props; + return Zum Turnier; + } +}