Skip to content

Commit

Permalink
Fixed #955 - Simple DataScroller does not display items.
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Jul 19, 2019
1 parent 3a1afff commit a759a72
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/datascroller/DataScroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,7 @@ export class DataScroller extends Component {
}

componentDidMount() {
if(this.props.lazy) {
this.load();
}
this.load();

if(this.props.loader) {
this.scrollFunction = () => {
Expand Down

0 comments on commit a759a72

Please sign in to comment.