Changeset ebf5e04 for redux/reducers
- Timestamp:
- 06/12/22 18:31:03 (2 years ago)
- Branches:
- main
- Children:
- 285c3cc
- Parents:
- fe03f69
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
redux/reducers/playerSlice.js
rfe03f69 rebf5e04 14 14 status: '', 15 15 sideBetName: '', 16 },17 stats: {18 wins: {19 blackjack: 0,20 roulette: 0,21 poker: 0,22 },23 games: {24 blackjack: 0,25 roulette: 0,26 poker: 0,27 }28 16 } 29 17 } … … 39 27 state.game = action.payload; 40 28 }, 41 setStats: (state, action) => {42 state.stats = action.payload;43 }44 29 } 45 30 }) 46 31 47 export const { setPlayer, setGame , setStats} = playerSlice.actions32 export const { setPlayer, setGame } = playerSlice.actions 48 33 49 34 export default playerSlice.reducer
Note:
See TracChangeset
for help on using the changeset viewer.