We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 951a01e commit 41de86eCopy full SHA for 41de86e
1 file changed
src/controllers/Lane.js
@@ -31,10 +31,7 @@ class Lane extends Component {
31
this.setState({loading: true})
32
const nextPage = currentPage + 1
33
onLaneScroll(nextPage, this.props.id).then(moreCards => {
34
- if (!moreCards || moreCards.length === 0) {
35
- // if no cards present, stop retrying until user action
36
- node.scrollTop = node.scrollTop - 10
37
- } else {
+ if ((moreCards || []).length > 0) {
38
this.props.actions.paginateLane({
39
laneId: this.props.id,
40
newCards: moreCards,
0 commit comments