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