Fix the proptypes deprecation warning url on the "Don't Call PropTypes Warning" doc page (#9419)
* Use the same prop-types link on the warning docs page as the main proptypes doc page * Link to repo instead
Gabriel Lett Viviani committed
Apr 13, 2017 at 11:15 UTC
22655d5759235a783546405763db2c9f9bace29d
1 file changed
+1
-1
docs/warnings/dont-call-proptypes.md
+1
-1
@@ -5,7 +5,7 @@ permalink: warnings/dont-call-proptypes.html
5
---
6
7
> Note:
8
-> `React.PropTypes` is deprecated as of React v15.5. Please use [the `prop-types` library instead](https://github.com/aackerman/PropTypes).
8
+> `React.PropTypes` is deprecated as of React v15.5. Please use [the `prop-types` library instead](https://github.com/reactjs/prop-types).
9
10
In a future major release of React, the code that implements PropType validation functions will be stripped in production. Once this happens, any code that calls these functions manually (that isn't stripped in production) will throw an error.
11