Skip to content

Commit

Permalink
fix selectedRange state error
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouwenxuan authored and zhouwenxuan committed Feb 21, 2025
1 parent 30ecd7a commit fe9d8ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class InteractionMasks extends React.Component {
this.props.onCellRangeSelectionUpdated(this.state.selectedRange);
}
if (Utils.isFunction(callback)) {
callback(this.state.selectedRange);
callback(selectedRange);
}
});
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ class InteractionMasks extends React.Component {
this.props.onCellRangeSelectionUpdated(this.state.selectedRange);
}
if (Utils.isFunction(callback)) {
callback(this.state.selectedRange);
callback(selectedRange);
}
});
};
Expand Down

0 comments on commit fe9d8ab

Please sign in to comment.