Ignore:
Timestamp:
06/23/22 00:08:35 (2 years ago)
Author:
anastasovv <simon@…>
Branches:
main
Children:
ace7865
Parents:
285c3cc
Message:

Roulette place a bet functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • components/blackjack/DisplayBet.jsx

    r285c3cc r9bd09b0  
    77  const styleState = useSelector(state => state.style);
    88
    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';
    1111
    1212  return (
Note: See TracChangeset for help on using the changeset viewer.