We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27c636e commit 8c10b01Copy full SHA for 8c10b01
src/table/Cell/HeaderCell.tsx
@@ -141,8 +141,8 @@ export const HeaderCell: React.FC<HeaderCellProps> = ({
141
</HeaderCellContainer>
142
143
{/* column grouping */}
144
- {Array.from({ length: colSpan }, () => (
145
- <HeaderCellContainer className={cs('th', 'hide', 'colspan')} />
+ {Array.from({ length: colSpan }, (_, jindex: number) => (
+ <HeaderCellContainer key={jindex} className={cs('th', 'hide', 'colspan')} />
146
))}
147
</>
148
);
0 commit comments