mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 09:02:03 +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
|
||||
|
||||
if ('renderMeta' in ssrContext) {
|
||||
rendered.meta = await ssrContext.renderMeta?.()
|
||||
rendered.meta = await ssrContext.renderMeta()
|
||||
}
|
||||
|
||||
const {
|
||||
|
Loading…
Reference in New Issue
Block a user