mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
chore: remove commented out import
This commit is contained in:
parent
60a34552cc
commit
1a1fe463df
@ -1,6 +1,5 @@
|
||||
import { defineAsyncComponent, defineComponent, getCurrentInstance, h, hydrateOnIdle, hydrateOnInteraction, hydrateOnVisible } from 'vue'
|
||||
import type { AsyncComponentLoader, HydrationStrategy } from 'vue'
|
||||
// import ClientOnly from '#app/components/client-only'
|
||||
import { useNuxtApp } from '#app/nuxt'
|
||||
|
||||
function elementIsVisibleInViewport (el: Element) {
|
||||
@ -17,6 +16,7 @@ function delayedHydrationComponent(loader: AsyncComponentLoader, hydrate: Hydrat
|
||||
hydrate
|
||||
})
|
||||
}
|
||||
|
||||
/* @__NO_SIDE_EFFECTS__ */
|
||||
export const createLazyIOComponent = (componentLoader: AsyncComponentLoader) => {
|
||||
return defineComponent({
|
||||
|
Loading…
Reference in New Issue
Block a user