chore: remove commented out import

This commit is contained in:
Michael Brevard 2024-08-20 13:54:31 +03:00 committed by GitHub
parent 60a34552cc
commit 1a1fe463df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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({