Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ugur-camoglu committed Aug 9, 2021
1 parent 8d41fdf commit b07c260
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions build/react-infinite.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@ var Infinite = function (_React$Component) {
if (isMissingVisibleRows) {
this.onInfiniteLoad();
}
if (prevProps !== this.props) {
var nextInternalState = this.recomputeInternalStateFromProps(prevProps);
this.computedProps = nextInternalState.computedProps;
this.utils = nextInternalState.utils;
this.setState(nextInternalState.newState);
}
// if (prevProps !== this.props) {
// var nextInternalState = this.recomputeInternalStateFromProps(prevProps);
// this.computedProps = nextInternalState.computedProps;
// this.utils = nextInternalState.utils;
// this.setState(nextInternalState.newState);
// }
}
}, {
key: 'componentDidMount',
Expand Down
Loading

0 comments on commit b07c260

Please sign in to comment.