mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
perf(nuxt): remove unneeded second call to useNuxtApp
(#29514)
This commit is contained in:
parent
721ed7d6de
commit
088beaa90b
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user