@@ -484,7 +484,7 @@ function validateDOMNesting(
484484 // TODO: Format this as a linkified "diff view" with props instead of
485485 // a stack trace since the stack trace format is now for owner stacks.
486486 console [ 'error' ] (
487- 'Warning: In HTML, %s cannot be a child of <%s>.%s\n' +
487+ 'In HTML, %s cannot be a child of <%s>.%s\n' +
488488 'This will cause a hydration error.%s' ,
489489 tagDisplayName ,
490490 ancestorTag ,
@@ -498,7 +498,7 @@ function validateDOMNesting(
498498 // TODO: Format this as a linkified "diff view" with props instead of
499499 // a stack trace since the stack trace format is now for owner stacks.
500500 console [ 'error' ] (
501- 'Warning: In HTML, %s cannot be a descendant of <%s>.\n' +
501+ 'In HTML, %s cannot be a descendant of <%s>.\n' +
502502 'This will cause a hydration error.%s' ,
503503 tagDisplayName ,
504504 ancestorTag ,
@@ -530,7 +530,7 @@ function validateTextNesting(childText: string, parentTag: string): boolean {
530530 // TODO: Format this as a linkified "diff view" with props instead of
531531 // a stack trace since the stack trace format is now for owner stacks.
532532 console [ 'error' ] (
533- 'Warning: In HTML, text nodes cannot be a child of <%s>.\n' +
533+ 'In HTML, text nodes cannot be a child of <%s>.\n' +
534534 'This will cause a hydration error.%s' ,
535535 parentTag ,
536536 getCurrentParentStackInDev ( ) ,
@@ -542,7 +542,7 @@ function validateTextNesting(childText: string, parentTag: string): boolean {
542542 // TODO: Format this as a linkified "diff view" with props instead of
543543 // a stack trace since the stack trace format is now for owner stacks.
544544 console [ 'error' ] (
545- 'Warning: In HTML, whitespace text nodes cannot be a child of <%s>. ' +
545+ 'In HTML, whitespace text nodes cannot be a child of <%s>. ' +
546546 "Make sure you don't have any extra whitespace between tags on " +
547547 'each line of your source code.\n' +
548548 'This will cause a hydration error.%s' ,
0 commit comments