Add key prop to row Box in CustomTableBody for improved rendering

This commit is contained in:
SergeantPanda 2025-04-29 11:10:26 -05:00
parent 9b443a0a3e
commit 342797d2ec

View file

@ -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'}`}