Changeset ace7865 for components/roulette/BetModal.jsx
- Timestamp:
- 06/25/22 11:30:19 (2 years ago)
- Branches:
- main
- Children:
- b13f93b
- Parents:
- 9bd09b0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
components/roulette/BetModal.jsx
r9bd09b0 race7865 52 52 betModal: false, 53 53 }, 54 coinPlaced: { 55 x: 0, 56 y: 0 57 } 54 showCoin: false, 58 55 })) 59 56 } … … 64 61 ...styleState.roulette.displays, 65 62 betModal: false, 66 } 63 }, 64 showCoin: true, 67 65 })); 68 66 } … … 70 68 71 69 return ( 72 <div className="rouletteBetModal" style={{display: styleState.roulette.displays.betModal ? 'flex' : 'none'}}>70 <div className="rouletteBetModal" style={{display: styleState.roulette.displays.betModal && playerState.rouletteGame.timeToStart > 10 ? 'flex' : 'none'}}> 73 71 <p>You have chosen to bet on: <span>{styleState.roulette.whichBets.map((bet, i) => `${bet} `)}</span><br/>Please select the amount you will bet</p> 74 72 <div>
Note:
See TracChangeset
for help on using the changeset viewer.