Re-enable NAME CHANGE
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
parent
be750e64ce
commit
db3299a57a
@ -283,7 +283,7 @@ const Action = ({ board }) => {
|
|||||||
{ board.game.state == 'lobby' && <>
|
{ board.game.state == 'lobby' && <>
|
||||||
<Button disabled={!board.game.color || board.game.active < 2} onClick={startClick}>Start game</Button>
|
<Button disabled={!board.game.color || board.game.active < 2} onClick={startClick}>Start game</Button>
|
||||||
<Button disabled={!board.game.color} onClick={newBoardClick}>New board</Button>
|
<Button disabled={!board.game.color} onClick={newBoardClick}>New board</Button>
|
||||||
<Button disabled={board.game.color !== ''} onClick={() => {board.setState({ pickName: true})}}>Change name</Button>
|
<Button disabled={board.game.color ? true : false} onClick={() => {board.setState({ pickName: true})}}>Change name</Button>
|
||||||
</> }
|
</> }
|
||||||
{ board.game.state === 'game-order' &&
|
{ board.game.state === 'game-order' &&
|
||||||
<Button disabled={board.game.order !== 0} onClick={rollClick}>Roll Dice</Button> }
|
<Button disabled={board.game.order !== 0} onClick={rollClick}>Roll Dice</Button> }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user