From 40f63c0c823f05a3fdb7ac3f9b6ac7a615262e75 Mon Sep 17 00:00:00 2001 From: Brandon Dail Date: Tue, 5 Jul 2016 15:14:06 -0500 Subject: [PATCH] Use hardcoded value for PropType secret Rename secret! --- src/isomorphic/classic/types/ReactPropTypesSecret.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/isomorphic/classic/types/ReactPropTypesSecret.js b/src/isomorphic/classic/types/ReactPropTypesSecret.js index 1b9b06195e8d8..21eed49a75080 100644 --- a/src/isomorphic/classic/types/ReactPropTypesSecret.js +++ b/src/isomorphic/classic/types/ReactPropTypesSecret.js @@ -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;