Fix unique key problem in React component

This commit is contained in:
apanizo 2018-10-11 19:10:31 +02:00
parent 4c482f80ad
commit 039f4527bb
1 changed files with 2 additions and 2 deletions

View File

@ -109,8 +109,8 @@ const ReviewComponent = ({ values, classes, network }: Props) => {
</Block>
<Hairline />
{ names.map((name, index) => (
<React.Fragment>
<Row key={`name${(index)}`} className={classes.owner}>
<React.Fragment key={`name${(index)}`}>
<Row className={classes.owner}>
<Col xs={1} align="center">
<Identicon address={addresses[index]} diameter={32} />
</Col>