Skip to content

Commit

Permalink
Fix erroneous PropTypes access warning
Browse files Browse the repository at this point in the history
  • Loading branch information
acdlite committed Apr 7, 2017
1 parent e19c700 commit ec97ebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/umd/ReactUMDEntry.js
Expand Up @@ -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(
Expand Down

0 comments on commit ec97ebb

Please sign in to comment.