Skip to content

Commit

Permalink
Changed mui-themeable HOC to have same displayName as its wrapped com…
Browse files Browse the repository at this point in the history
…ponent.
  • Loading branch information
newoga committed Dec 15, 2015
1 parent 1d9dc5d commit 13bcdfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mui-themeable.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function muiThemeable(WrappedComponent) {
return <WrappedComponent {...props} muiTheme={muiTheme} />;
};

MuiComponent.displayName = `mui(${getDisplayName(WrappedComponent)})`;
MuiComponent.displayName = getDisplayName(WrappedComponent);
MuiComponent.contextTypes = {
muiTheme: React.PropTypes.object,
};
Expand Down

0 comments on commit 13bcdfd

Please sign in to comment.