Changeset 9bd09b0 for components/blackjack/DisplayBet.jsx
- Timestamp:
- 06/23/22 00:08:35 (2 years ago)
- Branches:
- main
- Children:
- ace7865
- Parents:
- 285c3cc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
components/blackjack/DisplayBet.jsx
r285c3cc r9bd09b0 7 7 const styleState = useSelector(state => state.style); 8 8 9 let display = parseInt(playerState. game.status.substr(1, 1)) >= 2 ? 'block' : 'none';10 let displaySideBet = ( parseInt(playerState. game.status.substr(1, 1)) >= 3 && parseInt(styleState.blackjack.inputControls.sideBet.chosenCredits) > 0 ) ? 'block' : 'none';9 let display = parseInt(playerState.blackjackGame.status.substr(1, 1)) >= 2 ? 'block' : 'none'; 10 let displaySideBet = ( parseInt(playerState.blackjackGame.status.substr(1, 1)) >= 3 && parseInt(styleState.blackjack.inputControls.sideBet.chosenCredits) > 0 ) ? 'block' : 'none'; 11 11 12 12 return (
Note:
See TracChangeset
for help on using the changeset viewer.