random bug - client setState

This commit is contained in:
Michael Shanks 2020-02-24 14:57:05 +00:00
parent be60091916
commit 35d5ae9ed8
1 changed files with 1 additions and 1 deletions

View File

@ -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] = {}
}