diff --git a/frontend/src/pages/lib-content-view/lib-content-view.js b/frontend/src/pages/lib-content-view/lib-content-view.js index 8794c3d3a4..444df4d59c 100644 --- a/frontend/src/pages/lib-content-view/lib-content-view.js +++ b/frontend/src/pages/lib-content-view/lib-content-view.js @@ -413,8 +413,7 @@ class LibContentView extends React.Component { } onListContainerScroll = () => { - let itemsShowLength = this.state.itemsShowLength; - itemsShowLength += 100; + let itemsShowLength = this.state.itemsShowLength + 100; this.setState({itemsShowLength: itemsShowLength}); }