From 148686b7c15f9f1b9183ecd4b855a712ea4b2b97 Mon Sep 17 00:00:00 2001 From: JP1998 Date: Thu, 11 Apr 2019 16:25:24 +0200 Subject: [PATCH] Fix bug preventing the owner of a tournament from starting / editing matches --- pages/tournament.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/tournament.js b/pages/tournament.js index 1f8797e..da0c919 100644 --- a/pages/tournament.js +++ b/pages/tournament.js @@ -94,12 +94,14 @@ function getLevelName(levelNumber) { } function Stage(props) { + const { isSignedIn, isOwner } = props; + return (

{props.level}

{props.matches.map((match => ( - + )))}