Skip to content

Commit 5a51494

Browse files
tinaClinroth1002
authored andcommitted
The component should update when columns are not equal. (#18)
1 parent 766c449 commit 5a51494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TableHeader.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class TableHeader extends Component {
2323
||
2424
nextProps.scrollLeft !== this.props.scrollLeft
2525
||
26-
isEqual(nextProps.columns, this.props.columns)
26+
!isEqual(nextProps.columns, this.props.columns)
2727
);
2828
}
2929

0 commit comments

Comments
 (0)