From 0216d8565743abf70a3c7664affc8f95b5c6f464 Mon Sep 17 00:00:00 2001 From: Andy Edwards Date: Tue, 20 Sep 2016 08:59:31 -0500 Subject: [PATCH] modify manual PropType calls warning --- src/isomorphic/classic/types/ReactPropTypes.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/isomorphic/classic/types/ReactPropTypes.js b/src/isomorphic/classic/types/ReactPropTypes.js index 7b026a7b05950..f395bd39a12df 100644 --- a/src/isomorphic/classic/types/ReactPropTypes.js +++ b/src/isomorphic/classic/types/ReactPropTypes.js @@ -145,9 +145,10 @@ function createChainableTypeChecker(validate) { false, 'You are manually calling a React.PropTypes validation ' + 'function for the `%s` prop on `%s`. This is deprecated ' + - 'and will not work in the next major version. You may be ' + - 'seeing this warning due to a third-party PropTypes library. ' + - 'See https://fb.me/react-warning-dont-call-proptypes for details.', + 'and will not work in production with the next major version. ' + + 'You may be seeing this warning due to a third-party PropTypes ' + + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + + 'for details.', propFullName, componentName );