mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-23 18:18:18 +00:00
Add key prop to row Box in CustomTableBody for improved rendering
This commit is contained in:
parent
9b443a0a3e
commit
342797d2ec
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ const CustomTableBody = ({
|
|||
|
||||
const renderTableBodyRow = (row, index, style = {}) => {
|
||||
return (
|
||||
<Box style={style}>
|
||||
<Box style={style} key={`row-${row.id}`}>
|
||||
<Box
|
||||
key={`tr-${row.id}`}
|
||||
className={`tr ${index % 2 == 0 ? 'tr-even' : 'tr-odd'}`}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue