diff --git a/checkPropTypes.js b/checkPropTypes.js index c0e2096..49111df 100644 --- a/checkPropTypes.js +++ b/checkPropTypes.js @@ -70,8 +70,7 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) { 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).' - ) - + ); } if (error instanceof Error && !(error.message in loggedTypeFailures)) { // Only monitor this failure once because there tends to be a lot of the