mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
chore(nitro): avoid optional chaining in nitro render fn (#493)
This commit is contained in:
parent
f468ad59e4
commit
133c03ae2f
@ -110,7 +110,7 @@ async function renderHTML (payload, rendered, ssrContext) {
|
|||||||
const html = rendered.html
|
const html = rendered.html
|
||||||
|
|
||||||
if ('renderMeta' in ssrContext) {
|
if ('renderMeta' in ssrContext) {
|
||||||
rendered.meta = await ssrContext.renderMeta?.()
|
rendered.meta = await ssrContext.renderMeta()
|
||||||
}
|
}
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
Loading…
Reference in New Issue
Block a user