mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Use hardcoded value for PropType secret (#7194)
Rename secret!
(cherry picked from commit 2c93a41580)
This commit is contained in:
committed by
Paul O’Shannessy
parent
e75e8dcbeb
commit
7d9ded56a2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user