diff --git a/packages/nuxt/src/core/runtime/nitro/renderer.ts b/packages/nuxt/src/core/runtime/nitro/renderer.ts index 38faec34b3..000e2facc4 100644 --- a/packages/nuxt/src/core/runtime/nitro/renderer.ts +++ b/packages/nuxt/src/core/runtime/nitro/renderer.ts @@ -158,9 +158,7 @@ const getSPARenderer = lazyCachedFunction(async () => { const renderToString = (ssrContext: NuxtSSRContext) => { const config = useRuntimeConfig(ssrContext.event) ssrContext.modules = ssrContext.modules || new Set() - ssrContext!.payload = { - serverRendered: false, - } + ssrContext.payload.serverRendered = false ssrContext.config = { public: config.public, app: config.app,