1
0
Fork 0
mirror of synced 2024-07-03 13:30:46 +12:00

random bug - client setState

This commit is contained in:
Michael Shanks 2020-02-24 14:57:05 +00:00
parent 9bab862b4d
commit cbd33daae8

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