fixed add state
This commit is contained in:
parent
b6a27195fe
commit
b73206e07a
1 changed files with 2 additions and 2 deletions
|
@ -296,7 +296,7 @@ function reducer(previousState, action) {
|
||||||
change.scenes = {
|
change.scenes = {
|
||||||
[action.sceneState.sceneId]: {
|
[action.sceneState.sceneId]: {
|
||||||
sceneStates: {
|
sceneStates: {
|
||||||
$add: [action.sceneState.id],
|
$add: [action.sceneState],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -304,7 +304,7 @@ function reducer(previousState, action) {
|
||||||
change.pendingJoins = {
|
change.pendingJoins = {
|
||||||
scenes: {
|
scenes: {
|
||||||
[action.sceneState.sceneId]: {
|
[action.sceneState.sceneId]: {
|
||||||
$add: [action.sceneState.id],
|
$add: [action.sceneState],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue