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> </Block>
<Hairline /> <Hairline />
{ names.map((name, index) => ( { names.map((name, index) => (
<React.Fragment> <React.Fragment key={`name${(index)}`}>
<Row key={`name${(index)}`} className={classes.owner}> <Row className={classes.owner}>
<Col xs={1} align="center"> <Col xs={1} align="center">
<Identicon address={addresses[index]} diameter={32} /> <Identicon address={addresses[index]} diameter={32} />
</Col> </Col>