Got rid of index key.
This commit is contained in:
1 parent
149bec23eb
commit
43e9ede5b6
1 file changed
+2
-2
@@ -117,8 +117,8 @@ const CustomizedTables = ({ monitor }) => {
|
|||||||
</TableRow>
|
</TableRow>
|
||||||
</TableHead>
|
</TableHead>
|
||||||
<TableBody>
|
<TableBody>
|
||||||
{rows.map((row, index) => (
|
{rows.map((row) => (
|
||||||
<StyledTableRow key={index}>
|
<StyledTableRow key={row.name.props.status.key}>
|
||||||
<StyledTableCell component="th" scope="row">
|
<StyledTableCell component="th" scope="row">
|
||||||
{row.name}
|
{row.name}
|
||||||
</StyledTableCell>
|
</StyledTableCell>
|
||||||
|
|||||||
Reference in new issue
Block a user