diff --git a/packages/nuxt/src/app/utils.ts b/packages/nuxt/src/app/utils.ts index fc29085ccb..a13ab8c545 100644 --- a/packages/nuxt/src/app/utils.ts +++ b/packages/nuxt/src/app/utils.ts @@ -27,7 +27,7 @@ export function useIntersectionObserver (options?: Partial 0 if (isVisible && callback) { callback() } } - },defu(options ?? {},{root: null, rootMargin: "0px", threshold: 0})) + }, defu(options ?? {},{root: null, rootMargin: "0px", threshold: 0})) } callbacks.set(element, callback) observer.observe(element) @@ -46,4 +46,4 @@ export function useIntersectionObserver (options?: Partial