File tree 2 files changed +3
-3
lines changed
packages/react-dom/src/server 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1128,7 +1128,6 @@ function pushStartTitle(
1128
1128
target . push ( startChunkForTag ( 'title' ) ) ;
1129
1129
1130
1130
let children = null ;
1131
- let innerHTML = null ;
1132
1131
for ( const propKey in props ) {
1133
1132
if ( hasOwnProperty . call ( props , propKey ) ) {
1134
1133
const propValue = props [ propKey ] ;
@@ -1153,7 +1152,7 @@ function pushStartTitle(
1153
1152
target . push ( endOfStartTag ) ;
1154
1153
1155
1154
if ( __DEV__ ) {
1156
- let child =
1155
+ const child =
1157
1156
Array . isArray ( children ) && children . length < 2
1158
1157
? children [ 0 ] || null
1159
1158
: children ;
Original file line number Diff line number Diff line change 418
418
"430" : " ServerContext can only have a value prop and children. Found: %s" ,
419
419
"431" : " React elements are not allowed in ServerContext" ,
420
420
"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>."
422
423
}
You can’t perform that action at this time.
0 commit comments