Skip to content

Commit

Permalink
Use hardcoded value for PropType secret (facebook#7194)
Browse files Browse the repository at this point in the history
Rename secret!
  • Loading branch information
aweary authored and usmanajmal committed Jul 11, 2016
1 parent 65ab4a5 commit a33e612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isomorphic/classic/types/ReactPropTypesSecret.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
'use strict';


const ReactPropTypesSecret = '__REACT_PROP_TYPES_SECRET__' + Math.random().toString();
const ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';

module.exports = ReactPropTypesSecret;

0 comments on commit a33e612

Please sign in to comment.