File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
packages/next/src/server/app-render Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import type { DeepReadonly } from '../../shared/lib/deep-readonly'
27
27
import type { BaseNextRequest , BaseNextResponse } from '../base-http'
28
28
import type { IncomingHttpHeaders } from 'http'
29
29
30
- import React , { Fragment , type ErrorInfo , type JSX } from 'react'
30
+ import React , { type ErrorInfo , type JSX } from 'react'
31
31
32
32
import RenderResult , {
33
33
type AppPageRenderResultMetadata ,
@@ -3935,13 +3935,9 @@ const getGlobalErrorStyles = async (
3935
3935
const SegmentViewNode = ctx . componentMod . SegmentViewNode
3936
3936
const globalErrorModulePath = globalErrorModule ?. [ 1 ] || 'global-error.js'
3937
3937
globalErrorStyles = (
3938
- < Fragment key = "global-error-styles" >
3938
+ < SegmentViewNode type = "global-error" pagePath = { globalErrorModulePath } >
3939
3939
{ globalErrorStyles }
3940
- < SegmentViewNode
3941
- type = "global-error"
3942
- pagePath = { globalErrorModulePath }
3943
- />
3944
- </ Fragment >
3940
+ </ SegmentViewNode >
3945
3941
)
3946
3942
}
3947
3943
}
You can’t perform that action at this time.
0 commit comments