Fix many eslint warnings
This commit is contained in:
parent
f7972afcd4
commit
b1bf5efd11
7 changed files with 46 additions and 39 deletions
|
|
@ -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>}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue