mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
perf(nuxt): remove unneeded second call to useNuxtApp
(#29514)
This commit is contained in:
parent
d334a9997c
commit
2091888d06
@ -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