Skip to content

Commit a2f93a0

Browse files
fix(overmind): fix nested processing of state
1 parent 47ffc6c commit a2f93a0

File tree

1 file changed

+1
-1
lines changed
  • packages/node_modules/overmind/src

1 file changed

+1
-1
lines changed

packages/node_modules/overmind/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function processState(state: {}, derivedReferences?: any[]) {
3232
const value = state[key]
3333

3434
if (isPlainObject(value)) {
35-
aggr[key] = this.processState(value)
35+
aggr[key] = processState(value, derivedReferences)
3636
} else if (typeof value === 'function') {
3737
aggr[key] = new Derived(value)
3838

0 commit comments

Comments
 (0)