Skip to content

Commit 323cc49

Browse files
delete
1 parent 59d82f6 commit 323cc49

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/runtime-vapor/src/component.ts

-2
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,7 @@ export const getCurrentInstance: () => ComponentInternalInstance | null = () =>
246246
export const setCurrentInstance = (instance: ComponentInternalInstance) => {
247247
const prev = currentInstance
248248
currentInstance = instance
249-
instance.scope.on()
250249
return () => {
251-
instance.scope.off()
252250
currentInstance = prev
253251
}
254252
}

0 commit comments

Comments
 (0)