mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 15:50:32 +00:00
fix: missing question marks
This commit is contained in:
parent
cb7fc3f873
commit
cfb6660fcd
@ -14,7 +14,7 @@ export const createLazyIOClientPage = (componentLoader: Component) => {
|
||||
const instance = getCurrentInstance()!
|
||||
let vnode: VNode | null = null
|
||||
if (import.meta.client && nuxt.isHydrating && instance.vnode?.el) {
|
||||
vnode = createStaticVNode(getFragmentHTML(instance.vnode.el ?? null, true).join('') || '', 1)
|
||||
vnode = createStaticVNode(getFragmentHTML(instance.vnode.el ?? null, true)?.join('') || '', 1)
|
||||
}
|
||||
const isIntersecting = ref(false)
|
||||
const el: Ref<Element | null> = 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 && instance.vnode?.el) {
|
||||
vnode = createStaticVNode(getFragmentHTML(instance.vnode.el ?? null, true).join('') || '', 1)
|
||||
vnode = createStaticVNode(getFragmentHTML(instance.vnode.el ?? null, true)?.join('') || '', 1)
|
||||
}
|
||||
const isIdle = ref(false)
|
||||
let idleHandle: number | null = null
|
||||
|
Loading…
Reference in New Issue
Block a user