Skip to content

Commit

Permalink
Fix: #3543 (#3544)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinkrustev authored Nov 1, 2022
1 parent a80a4d0 commit 7807eed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/lib/treetable/TreeTableHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,9 @@ export const TreeTableHeader = React.memo((props) => {
const resizer = createResizer(column);

return (
<>
<React.Fragment key={column.columnKey || column.field || options.index}>
<th
ref={headerCellRef}
key={column.columnKey || column.field || options.index}
className={className}
style={column.props.headerStyle || column.props.style}
tabIndex={column.props.sortable ? props.tabIndex : null}
Expand All @@ -255,7 +254,7 @@ export const TreeTableHeader = React.memo((props) => {
{filterElement}
</th>
{hasTooltip && <Tooltip target={headerCellRef} content={headerTooltip} {...column.props.headerTooltipOptions} />}
</>
</React.Fragment>
);
}
};
Expand Down

0 comments on commit 7807eed

Please sign in to comment.