|
|
@ -29,9 +29,11 @@ class CreateOrJoin extends React.Component {
|
|
|
|
<Button size='large' className='shadow' onClick={this.props.showNewGame}>
|
|
|
|
<Button size='large' className='shadow' onClick={this.props.showNewGame}>
|
|
|
|
New Game
|
|
|
|
New Game
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
<Button size='large' className='shadow' onClick={this.props.showJoinGame}>
|
|
|
|
{this.props.start.start.games.length > 0 ? (
|
|
|
|
Join Game
|
|
|
|
<Button size='large' className='shadow' onClick={this.props.showJoinGame}>
|
|
|
|
</Button>
|
|
|
|
Join Game
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
) : (<Fragment />)}
|
|
|
|
</Fragment>
|
|
|
|
</Fragment>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|