random bug - client setState
This commit is contained in:
parent
be60091916
commit
35d5ae9ed8
|
@ -17,7 +17,7 @@ export const setState = (store, path, value) => {
|
|||
if (
|
||||
state[currentKey] === null ||
|
||||
state[currentKey] === undefined ||
|
||||
!isObject(obj[currentKey])
|
||||
!isObject(state[currentKey])
|
||||
) {
|
||||
state[currentKey] = {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue