Merge pull request #8906 from acdlite/warningnewline

Add missing newline to warning
This commit is contained in:
Andrew Clark authored and GitHub committed 2017-01-31 14:42:21 -08:00
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 + '`.';
}
}
}