Skip to content

Commit e0ceefb

Browse files
authored
Bug fix in vue3.ts
Overmind instance has proxyStateTreeInstance instead of proxyStateTree attribute.
1 parent bbf6564 commit e0ceefb

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

packages/node_modules/overmind-vue/src/vue3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export function createStateHook<Config extends IConfiguration>(): StateHook<
6767
)
6868

6969
if (!value.tree) {
70-
value.tree = overmindInstance.proxyStateTree.getTrackStateTree()
70+
value.tree = overmindInstance.proxyStateTreeInstance.getTrackStateTree()
7171
value.componentInstanceId = componentInstanceId++
7272
value.onUpdate = (_: any, __: any, flushId: number) => {
7373
value.currentFlushId = flushId

0 commit comments

Comments
 (0)