Changeset aac3b2b for components/poker/sections/PlayButtons.jsx
- Timestamp:
- 07/07/22 23:53:57 (2 years ago)
- Branches:
- main
- Children:
- 95ce58b
- Parents:
- 189cd8f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
components/poker/sections/PlayButtons.jsx
r189cd8f raac3b2b 60 60 return ( 61 61 <div className="pokerPlayButtonsContainer"> 62 {!playerState.pokerGame.table.started && playerState.pokerGame.player.isCoordinator && playerState.pokerGame.player.isSatDown && <button className="secondaryButton" onClick={() => startGame()}>Start game</button>}62 {!playerState.pokerGame.table.started && !playerState.pokerGame.table.ended && playerState.pokerGame.player.isCoordinator && playerState.pokerGame.player.isSatDown && <button className="secondaryButton" onClick={() => startGame()}>Start game</button>} 63 63 {!playerState.pokerGame.table.started && !playerState.pokerGame.player.isSatDown && <button className="secondaryButton" onClick={() => sitDown()}>Take a seat</button>} 64 64 </div>
Note:
See TracChangeset
for help on using the changeset viewer.