We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 784e721 commit 610ed57Copy full SHA for 610ed57
packages/node_modules/overmind/src/statemachine.ts
@@ -29,9 +29,9 @@ class StateMachine<States extends string> {
29
if (definition.states[this.current].includes(key as any)) {
30
if (this[CURRENT_EXIT]) this._currentExit()
31
this[VALUE][CURRENT_EXIT] = exit
32
- this.current = key as any
33
const tree = (this[PROXY_TREE].master.mutationTree || this[PROXY_TREE])
34
tree.enableMutations()
+ this.current = key as any
35
const result = entry && entry()
36
tree.blockMutations()
37
0 commit comments