Skip to content

Commit

Permalink
Clarify manual PropType calls warning (#7777)
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 authored and gaearon committed Sep 22, 2016
1 parent 13692d5 commit b7c70b6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/isomorphic/classic/types/ReactPropTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down

0 comments on commit b7c70b6

Please sign in to comment.