From 25aa5e36c9ff00bb4cb06a7563042c52eb22432d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Fri, 29 Jul 2016 12:14:01 -0700 Subject: [PATCH] [docs] Add permalink to PropTypes warning page (#7377) Followup to #7219, which was created before the Jekyll 3 upgrade, which needs the permalink field. --- docs/warnings/dont-call-proptypes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/warnings/dont-call-proptypes.md b/docs/warnings/dont-call-proptypes.md index 65a9ead49af14..cb5181c931d26 100644 --- a/docs/warnings/dont-call-proptypes.md +++ b/docs/warnings/dont-call-proptypes.md @@ -1,6 +1,7 @@ --- title: Don't Call PropTypes Warning layout: single +permalink: warnings/dont-call-proptypes.html --- 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.