diff --git a/packages/nuxt/src/app/utils.ts b/packages/nuxt/src/app/utils.ts index 2bd768f257..a46715cb21 100644 --- a/packages/nuxt/src/app/utils.ts +++ b/packages/nuxt/src/app/utils.ts @@ -42,7 +42,7 @@ export function useObserver (): { observe: ObserveFn } | undefined { } const _observer = nuxtApp._observer = { - observe + observe, } return _observer diff --git a/packages/nuxt/src/components/runtime/client-delayed-component.ts b/packages/nuxt/src/components/runtime/client-delayed-component.ts index dab60611f3..e50ef9849a 100644 --- a/packages/nuxt/src/components/runtime/client-delayed-component.ts +++ b/packages/nuxt/src/components/runtime/client-delayed-component.ts @@ -30,9 +30,9 @@ export const createLazyIOClientPage = (componentLoader: Component) => { } else { return null } - } - }) + }, + }), ]) - } + }, }) }