Skip to content

Commit a33e612

Browse files
awearyusmanajmal
authored andcommitted
Use hardcoded value for PropType secret (facebook#7194)
Rename secret!
1 parent 65ab4a5 commit a33e612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/isomorphic/classic/types/ReactPropTypesSecret.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
'use strict';
1414

1515

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

1818
module.exports = ReactPropTypesSecret;

0 commit comments

Comments
 (0)