fix key property of map function

This commit is contained in:
Casper Lamboo 2018-03-15 14:26:04 +01:00
parent f65ab470bb
commit 5b2c3bb80a

View File

@ -396,7 +396,7 @@ class Interface extends React.Component {
>
<Menu>
{actions.map((action) => (
<MenuItem key={action.type} primaryText={action.title} onTouchTap={() => this.slice(action)} />
<MenuItem key={action.target} primaryText={action.title} onTouchTap={() => this.slice(action)} />
))}
</Menu>
</Popover>