Skip to content

Commit 8786eba

Browse files
fix(overmind): actually fix emit in production
1 parent 09245c2 commit 8786eba

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

packages/node_modules/overmind/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ export class Overmind<Config extends Configuration> implements Configuration {
269269
getMutationTree: () => {
270270
return this.proxyStateTree.getMutationTree()
271271
},
272+
emit: this.eventHub.emit.bind(this.eventHub),
272273
} as any) as Execution
273274
}
274275

0 commit comments

Comments
 (0)