mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 05:37:55 +01:00
fix key property of map function
This commit is contained in:
parent
f65ab470bb
commit
5b2c3bb80a
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user