Fix erroneous PropTypes access warning

This commit is contained in:
Andrew Clark
2017-04-07 14:26:37 -07:00
parent e19c70013e
commit ec97ebbe7f
+2 -2
View File
@@ -14,11 +14,11 @@
var React = require('React');
// `version` will be added here by the React module.
var ReactUMDEntry = Object.assign({
var ReactUMDEntry = Object.assign(React, {
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {
ReactCurrentOwner: require('ReactCurrentOwner'),
},
}, React);
});
if (__DEV__) {
Object.assign(