mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-16 19:17:57 +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