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/Alert.jsx

    r285c3cc r9bd09b0  
    88
    99import { setBlackjack, setStyle } from '../redux/reducers/styleSlice'
    10 import { setGame } from '../redux/reducers/playerSlice'
     10import { setBlackjackGame } from '../redux/reducers/playerSlice'
    1111
    1212const Alert = () => {
     
    3030            axios.get(`/api/blackjack?action=play_again&session_id=${localStorage.CAESSINO_SESSION_ID}`).then(res => {
    3131                if (res.data?.success && res.data?.game) {
    32                     dispatch(setGame({
    33                         ...playerState.game,
     32                    dispatch(setBlackjackGame({
     33                        ...playerState.blackjackGame,
    3434                        status: res.data.game?.status,
    3535                        playerCards: res.data.game?.playerCards,
Note: See TracChangeset for help on using the changeset viewer.