From ab7a0991b33731f014e03176b6a7c0e999fe9e46 Mon Sep 17 00:00:00 2001 From: Thomas Hintz Date: Fri, 7 Feb 2020 10:42:07 -0800 Subject: [PATCH] Hide Join Games when no games to join. --- src/components/create-or-join/CreateOrJoin.jsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/create-or-join/CreateOrJoin.jsx b/src/components/create-or-join/CreateOrJoin.jsx index cdc6b03..d8d3fa6 100644 --- a/src/components/create-or-join/CreateOrJoin.jsx +++ b/src/components/create-or-join/CreateOrJoin.jsx @@ -29,9 +29,11 @@ class CreateOrJoin extends React.Component { - + {this.props.start.start.games.length > 0 ? ( + + ) : ()} ); }