perf(nuxt): remove unneeded second call to useNuxtApp (#29514)

This commit is contained in:
Julien Huang 2024-10-13 22:26:07 +02:00 committed by Daniel Roe
parent 721ed7d6de
commit 088beaa90b
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B

View File

@ -56,7 +56,6 @@ export const defineNuxtComponent: typeof defineComponent =
}
if (options.head) {
const nuxtApp = useNuxtApp()
useHead(typeof options.head === 'function' ? () => options.head(nuxtApp) : options.head)
}