Browse Source

random bug - client setState

pull/125/head
Michael Shanks 6 years ago
parent
commit
cbd33daae8
  1. 2
      packages/client/src/state/setState.js

2
packages/client/src/state/setState.js

@ -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…
Cancel
Save