We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7489a29 commit 03959f8Copy full SHA for 03959f8
src/compact/CompactRow.tsx
@@ -33,7 +33,7 @@ export const CompactRow: React.FC<CompactRowProps> = ({
33
{rowOptions?.renderBeforeRow && rowOptions.renderBeforeRow(item, index)}
34
35
<Row item={item} {...rowProps}>
36
- {columns.map((column: Column) => {
+ {columns.map((column: Column, jindex: number) => {
37
const sharedProps = {
38
pinLeft: column.pinLeft,
39
pinRight: column.pinRight,
@@ -79,7 +79,7 @@ export const CompactRow: React.FC<CompactRowProps> = ({
79
}
80
81
return (
82
- <React.Fragment key={index}>
+ <React.Fragment key={jindex}>
83
{checkbox}
84
{cell}
85
</React.Fragment>
0 commit comments