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.
scope. on
1 parent db140a1 commit c449039Copy full SHA for c449039
packages/runtime-vapor/src/renderEffect.ts
@@ -43,9 +43,8 @@ export function renderEffect(cb: () => void) {
43
effect.run()
44
}
45
46
-
+ const reset = instance && setCurrentInstance(instance)
47
effect = new ReactiveEffect(() => {
48
- const reset = instance && setCurrentInstance(instance)
49
callWithAsyncErrorHandling(cb, instance, VaporErrorCodes.RENDER_FUNCTION)
50
reset?.()
51
})
0 commit comments