Refactor keys
This commit is contained in:
parent
8ff899dce1
commit
3f572ed043
|
@ -141,8 +141,8 @@ class OwnerListComponent extends React.PureComponent<Props, State> {
|
|||
</Row>
|
||||
<Hairline />
|
||||
<Block margin="md" padding="md">
|
||||
{ owners.map((x, index) => (
|
||||
<Row key={`owner${(index)}`} className={classes.owner}>
|
||||
{owners.map((x, index) => (
|
||||
<Row key={owners[index].address} className={classes.owner}>
|
||||
<Col xs={4}>
|
||||
<Field
|
||||
className={classes.name}
|
||||
|
|
|
@ -163,7 +163,7 @@ class ReviewComponent extends React.PureComponent<Props, State> {
|
|||
</Block>
|
||||
<Hairline />
|
||||
{owners.map((x, index) => (
|
||||
<React.Fragment key={`name${index}`}>
|
||||
<React.Fragment key={owners[index].address}>
|
||||
<Row className={classes.owner}>
|
||||
<Col xs={1} align="center">
|
||||
<Identicon address={owners[index]} diameter={32} />
|
||||
|
|
Loading…
Reference in New Issue