patch game_resign in games reducer
This commit is contained in:
parent
17b2e2c31f
commit
249789944b
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ export const gamesReducer = (state, action) => {
|
|||
}
|
||||
|
||||
case "GAME_RESIGN": {
|
||||
const { gameRecord, pass, turn, winner, playerState } = action.body.meta;
|
||||
const { gameRecord, pass, turn, winner, playerState } = action.body;
|
||||
return {
|
||||
...state,
|
||||
meta: { gameRecord, pass, turn, winner, playerState },
|
||||
|
|
Loading…
Reference in a new issue