File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ export function enableMemoryDebuggingMode(): void {
99 // memory limit. It does not give any warning to the user though which
1010 // can be jarring. If memory is large, this may take a long time.
1111 if ( 'setHeapSnapshotNearHeapLimit' in v8 ) {
12- // @ts -expect-error - this method exists since Node 16.
1312 v8 . setHeapSnapshotNearHeapLimit ( 1 )
1413 }
1514
Original file line number Diff line number Diff line change @@ -471,11 +471,6 @@ export async function renderToHTMLImpl(
471471 renderOpts . Component
472472 const OriginComponent = Component
473473
474- let serverComponentsInlinedTransformStream : TransformStream <
475- Uint8Array ,
476- Uint8Array
477- > | null = null
478-
479474 const isFallback = ! ! query . __nextFallback
480475 const notFoundSrcPage = query . __nextNotFoundSrcPage
481476
@@ -1354,7 +1349,7 @@ export async function renderToHTMLImpl(
13541349 ( initialStream : ReactReadableStream , suffix ?: string ) => {
13551350 return continueFizzStream ( initialStream , {
13561351 suffix,
1357- inlinedDataStream : serverComponentsInlinedTransformStream ?. readable ,
1352+ inlinedDataStream : undefined ,
13581353 isStaticGeneration : true ,
13591354 // this must be called inside bodyResult so appWrappers is
13601355 // up to date when `wrapApp` is called
You can’t perform that action at this time.
0 commit comments