mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #8906 from acdlite/warningnewline
Add missing newline to warning
This commit is contained in:
commit
10e5438422
1 file changed
+1
-1
@@ -122,7 +122,7 @@ function throwOnInvalidObjectType(returnFiber : Fiber, newChild : Object) {
|
||||
if (owner && typeof owner.tag === 'number') {
|
||||
const name = getComponentName((owner : any));
|
||||
if (name) {
|
||||
addendum += ' Check the render method of `' + name + '`.';
|
||||
addendum += '\n\nCheck the render method of `' + name + '`.';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user