We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed97d6a commit a752be2Copy full SHA for a752be2
packages/node_modules/overmind-svelte/src/index.ts
@@ -11,7 +11,7 @@ export function createMixin(overmind) {
11
let currentFlushId = 0
12
13
const subscribe = (listener) => {
14
- const tree = overmind.proxyStateTree.getTrackStateTree()
+ const tree = overmind.proxyStateTreeInstance.getTrackStateTree()
15
const componentInstanceId = nextComponentInstanceId++
16
let isUpdating = false
17
@@ -57,7 +57,7 @@ export function createMixin(overmind) {
57
}
58
59
return () => {
60
- overmind.proxyStateTree.disposeTree(tree)
+ overmind.proxyStateTreeInstance.disposeTree(tree)
61
overmind.eventHub.emitAsync(EventType.COMPONENT_REMOVE, {
62
componentId,
63
componentInstanceId: componentInstanceId,
0 commit comments