Use hardcoded value for PropType secret (#7194)
Rename secret!
Brandon Dail committed
Jul 5, 2016 at 18:22 UTC
2c93a41580030ae44105626cdd19c97704128771
1 file changed
+1
-1
src/isomorphic/classic/types/ReactPropTypesSecret.js
+1
-1
@@ -13,6 +13,6 @@
13
'use strict';
14
15
16
-const ReactPropTypesSecret = '__REACT_PROP_TYPES_SECRET__' + Math.random().toString();
16
+const ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
17
18
module.exports = ReactPropTypesSecret;