mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
chore: linting error
This commit is contained in:
parent
6e6904389d
commit
ba0b49576a
@ -251,7 +251,8 @@ export default defineRenderHandler(async (event): Promise<Partial<RenderResponse
|
|||||||
setFailedHeadInjectionHandler(() => {
|
setFailedHeadInjectionHandler(() => {
|
||||||
console.warn('Unhead has fallen back to a shared context that may have unexpected behavior. Consider wrapping your code with nuxtApp.runWithContext. Learn more at https://nuxt.com/docs/getting-started/seo-meta#pitfalls.')
|
console.warn('Unhead has fallen back to a shared context that may have unexpected behavior. Consider wrapping your code with nuxtApp.runWithContext. Learn more at https://nuxt.com/docs/getting-started/seo-meta#pitfalls.')
|
||||||
// dump stacktrace to help debugging, we don't want to trigger a blocking SSR error
|
// dump stacktrace to help debugging, we don't want to trigger a blocking SSR error
|
||||||
console.warn(new Error('').stack!.split('\n').slice(5).join('\n'))
|
// eslint-disable-next-line unicorn/error-message
|
||||||
|
console.warn(new Error().stack!.split('\n').slice(5).join('\n'))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// needed for hash hydration plugin to work
|
// needed for hash hydration plugin to work
|
||||||
|
Loading…
Reference in New Issue
Block a user