From 96aeb24d66500d91af9e6f81fee8d711fbbcf581 Mon Sep 17 00:00:00 2001 From: Evan You Date: Tue, 12 Dec 2023 23:47:38 +0800 Subject: [PATCH] chore: remove unnecessary statements --- packages/runtime-core/src/renderer.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/runtime-core/src/renderer.ts b/packages/runtime-core/src/renderer.ts index 0411072671..b0eb1844ed 100644 --- a/packages/runtime-core/src/renderer.ts +++ b/packages/runtime-core/src/renderer.ts @@ -1459,12 +1459,10 @@ function baseCreateRenderer( // this will cause crash because we don't know the root node yet if (nonHydratedAsyncRoot) { // only sync the properties and abort the rest of operations - toggleRecurse(instance, false) if (next) { next.el = vnode.el updateComponentPreRender(instance, next, optimized) } - toggleRecurse(instance, true) // and continue the rest of operations once the deps are resolved nonHydratedAsyncRoot.asyncDep!.then(() => { // the instance may be destroyed during the time period -- 2.47.3