1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

add missing key

This commit is contained in:
sveisvei 2016-12-05 23:06:16 +01:00
parent 84f5c6b602
commit 4116a854c8

View File

@ -115,9 +115,9 @@ class EditFeatureToggleWrapper extends React.Component {
<Cell col={3}> <Cell col={3}>
<div><strong>History</strong></div> <div><strong>History</strong></div>
<List style={{ textAlign: 'left' }}> <List style={{ textAlign: 'left' }}>
{history.map(({ createdAt, type, createdBy }) => {history.map(({ createdAt, type, createdBy }, i) =>
<ListItem twoLine> <ListItem twoLine key={i}>
<ListItemContent avatar={getIcon(type)} subtitle={createdAt}> <ListItemContent title={type} avatar={getIcon(type)} subtitle={createdAt}>
{createdBy} {createdBy}
</ListItemContent> </ListItemContent>
</ListItem>)} </ListItem>)}