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>
|
||||
</TableHead>
|
||||
<TableBody>
|
||||
{rows.map((row, index) => (
|
||||
<StyledTableRow key={index}>
|
||||
{rows.map((row) => (
|
||||
<StyledTableRow key={row.name.props.status.key}>
|
||||
<StyledTableCell component="th" scope="row">
|
||||
{row.name}
|
||||
</StyledTableCell>
|
||||
|
||||
Reference in new issue
Block a user