Fix many eslint warnings

This commit is contained in:
uwap 2018-07-10 18:08:13 +02:00
parent f7972afcd4
commit b1bf5efd11
7 changed files with 46 additions and 39 deletions

View file

@ -32,7 +32,7 @@ export default class UiItemList extends React.PureComponent<UiItemListProps> {
}
return (
<ListItem key={key}>
{control.icon == null ||
{control.icon == null || control.type === "link" ||
<ListItemIcon>
{renderIcon(control.icon(this.props.state), "mdi-24px")}
</ListItemIcon>}