Skip to content

Commit

Permalink
Don't extra clone icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Luwangel committed Oct 11, 2018
1 parent be0343b commit 86f6187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-ui-materialui/src/layout/UserMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class UserMenu extends React.Component {
color="inherit"
onClick={this.handleMenu}
>
{icon && cloneElement(icon)}
{icon}
</IconButton>
</Tooltip>
<Menu
Expand Down

0 comments on commit 86f6187

Please sign in to comment.