Fix unique key problem in React component
This commit is contained in:
parent
4c482f80ad
commit
039f4527bb
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue