mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
removes loose validation message
This commit is contained in:
@@ -284,7 +284,7 @@ function createShapeTypeChecker(shapeTypes) {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
return createChainableTypeChecker(validate, 'expected `object`');
|
||||
return createChainableTypeChecker(validate);
|
||||
}
|
||||
|
||||
function isNode(propValue) {
|
||||
|
||||
Reference in New Issue
Block a user