File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,10 @@ export async function hydrate(
20
20
const Initial = await import ( matched . value ) ;
21
21
return hydrateRoot (
22
22
document ,
23
- < Suspense >
24
- < RouterHost Shell = { Shell } >
25
- < Shell { ...globalX . __SERVERSIDE_PROPS__ } >
26
- < Initial . default { ...globalX . __SERVERSIDE_PROPS__ ?. props } />
27
- </ Shell >
28
- </ RouterHost >
29
- </ Suspense >
23
+ < RouterHost Shell = { Shell } >
24
+ < Shell { ...globalX . __SERVERSIDE_PROPS__ } >
25
+ < Initial . default { ...globalX . __SERVERSIDE_PROPS__ ?. props } />
26
+ </ Shell >
27
+ </ RouterHost >
30
28
) ;
31
29
}
Original file line number Diff line number Diff line change @@ -83,11 +83,9 @@ export class StaticRouters {
83
83
} ) ;
84
84
}
85
85
const stream = await renderToReadableStream (
86
- < Suspense >
87
- < Shell { ...result } >
88
- < module . default { ...result ?. props } />
89
- </ Shell >
90
- </ Suspense > ,
86
+ < Shell { ...result } >
87
+ < module . default { ...result ?. props } />
88
+ </ Shell > ,
91
89
{
92
90
signal : request . signal ,
93
91
bootstrapScriptContent : [
You can’t perform that action at this time.
0 commit comments