diff --git a/packages/nuxt/src/components/runtime/client-delayed-component.ts b/packages/nuxt/src/components/runtime/client-delayed-component.ts index 1acf7daac3..0009962480 100644 --- a/packages/nuxt/src/components/runtime/client-delayed-component.ts +++ b/packages/nuxt/src/components/runtime/client-delayed-component.ts @@ -14,7 +14,7 @@ export const createLazyIOClientPage = (componentLoader: Component) => { const instance = getCurrentInstance()! let vnode: VNode | null = null if (import.meta.client && nuxt.isHydrating) { - vnode = createStaticVNode(getFragmentHTML(instance.vnode.el), 1) + vnode = createStaticVNode(getFragmentHTML(instance.vnode.el).join(''), 1) } const isIntersecting = ref(false) const el: Ref = ref(null) @@ -47,7 +47,7 @@ export const createLazyNetworkClientPage = (componentLoader: Component) => { const instance = getCurrentInstance()! let vnode: VNode | null = null if (import.meta.client && nuxt.isHydrating) { - vnode = createStaticVNode(getFragmentHTML(instance.vnode.el), 1) + vnode = createStaticVNode(getFragmentHTML(instance.vnode.el).join(''), 1) } const isIdle = ref(false) let idleHandle: number | null = null