mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
53151a83fc
commit
359f6bf018
@ -138,7 +138,7 @@ export class Catalog extends React.Component {
|
||||
</MenuItem>
|
||||
{ this.contextMenu.menuItems.map((menuItem, index) => {
|
||||
return (
|
||||
<MenuItem key={`menuitem-${index}`} onClick={() => this.onMenuItemClick(menuItem)}>
|
||||
<MenuItem key={index} onClick={() => this.onMenuItemClick(menuItem)}>
|
||||
<Icon material={menuItem.icon} small interactive={true} title={menuItem.title}/> {menuItem.title}
|
||||
</MenuItem>
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user