Skip to content

Commit

Permalink
Fix read properties of null issue, fixes inovua#416
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadSawalhy committed Apr 24, 2024
1 parent 07e0045 commit 33af865
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ export default class InovuaDataGridHeader extends React.Component {
};
}
componentWillUnmount() {
this.cells = null;
this.unlockedCells = null;
this.cells = [];
this.unlockedCells = [];
}
componentDidUpdate = (prevProps) => {
if (this.props.columnRenderCount < prevProps.columnRenderCount) {
Expand Down

0 comments on commit 33af865

Please sign in to comment.