mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 13:37:58 +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>
|
<Menu>
|
||||||
{actions.map((action) => (
|
{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>
|
</Menu>
|
||||||
</Popover>
|
</Popover>
|
||||||
|
Loading…
Reference in New Issue
Block a user