From 2a244f056fb22ce2ec8f32f7e3ad7af604ba21aa Mon Sep 17 00:00:00 2001 From: Michael Brevard Date: Sun, 2 Jun 2024 23:43:29 +0300 Subject: [PATCH] chore: remove unused vnode --- .../nuxt/src/components/runtime/client-delayed-component.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/nuxt/src/components/runtime/client-delayed-component.ts b/packages/nuxt/src/components/runtime/client-delayed-component.ts index 851ee38a60..77a5bdd037 100644 --- a/packages/nuxt/src/components/runtime/client-delayed-component.ts +++ b/packages/nuxt/src/components/runtime/client-delayed-component.ts @@ -71,10 +71,6 @@ export const createLazyNetworkClientPage = (componentLoader: Component) => { } const nuxt = useNuxtApp() const instance = getCurrentInstance()! - let vnode: VNode | null = null - if (nuxt.isHydrating && instance.vnode?.el) { - vnode = createStaticVNode(getFragmentHTML(instance.vnode.el ?? null, true)?.join('') || '', 1) - } const isIdle = ref(false) let idleHandle: number | null = null onMounted(() => {