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