Skip to content

Commit fb831f3

Browse files
fix(overmind): when reconfiguring send actual state, not origin state
1 parent 1562c38 commit fb831f3

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/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ export class Overmind<ThisConfig extends IConfiguration>
853853
this.devtools.send({
854854
type: 're_init',
855855
data: {
856-
state: proxyStateTree.sourceState,
856+
state: proxyStateTree.state,
857857
actions: getActionPaths(configuration.actions),
858858
},
859859
})

0 commit comments

Comments
 (0)