diff --git a/pages/tournament.js b/pages/tournament.js
index 5496d38..eac688a 100644
--- a/pages/tournament.js
+++ b/pages/tournament.js
@@ -42,12 +42,20 @@ function StatusBar(props) {
{props.tournament.name}
-
+
+
);
}
+function StatisticsButton(props) {
+ return (
+ Statistiken
+ );
+}
+
function TournamentBigImage(props) {
return (
@@ -77,10 +85,10 @@ function mapStateToTournamentPageProperties(state) {
const TournamentPage = connect(mapStateToTournamentPageProperties)(PrivateTournamentPage);
function EditButton(props) {
- const {id, isOwner, isSignedIn} = props;
+ const {tournamentId, isOwner, isSignedIn} = props;
if (isSignedIn && isOwner) {
- return (
+ return (
Turnier bearbeiten
);
} else {