Skip to content

Commit 5438ce0

Browse files
fix(overmind-angular): use correct api to grab track state tree
1 parent e2bf70e commit 5438ce0

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

packages/node_modules/overmind-angular/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const createConnect = <A extends Overmind<any>>(overmind: A) => () => {
2626
target.prototype.ngOnInit = function() {
2727
const ngZ = new NgZone({ enableLongStackTrace: false })
2828

29-
this.__tree = (overmind as any).proxyStateTree.getTrackingTree()
29+
this.__tree = (overmind as any).proxyStateTree.getTrackStateTree()
3030
this.__currentFlushId = 0
3131
this.overmind = {
3232
state: this.__tree.state,

0 commit comments

Comments
 (0)