File tree Expand file tree Collapse file tree
packages/react-dom/src/server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1128,7 +1128,6 @@ function pushStartTitle(
11281128 target . push ( startChunkForTag ( 'title' ) ) ;
11291129
11301130 let children = null ;
1131- let innerHTML = null ;
11321131 for ( const propKey in props ) {
11331132 if ( hasOwnProperty . call ( props , propKey ) ) {
11341133 const propValue = props [ propKey ] ;
@@ -1153,7 +1152,7 @@ function pushStartTitle(
11531152 target . push ( endOfStartTag ) ;
11541153
11551154 if ( __DEV__ ) {
1156- let child =
1155+ const child =
11571156 Array . isArray ( children ) && children . length < 2
11581157 ? children [ 0 ] || null
11591158 : children ;
Original file line number Diff line number Diff line change 418418 "430" : " ServerContext can only have a value prop and children. Found: %s" ,
419419 "431" : " React elements are not allowed in ServerContext" ,
420420 "432" : " This Suspense boundary was aborted by the server" ,
421- "433" : " useId can only be used while React is rendering"
421+ "433" : " useId can only be used while React is rendering" ,
422+ "434" : " `dangerouslySetInnerHTML` does not make sense on <title>."
422423}
You can’t perform that action at this time.
0 commit comments