Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
Fix LoadableRiver not showing Load more when there are more posts
Browse files Browse the repository at this point in the history
  • Loading branch information
voidxnull authored and artkravchenko committed Nov 15, 2017
1 parent c950be8 commit fa6433b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/loadable-river.js
Expand Up @@ -45,7 +45,7 @@ export default class LoadableRiver extends React.Component {
super(props, context, ...args);

this.state = {
displayLoadMore: props.river.size > props.loadMoreLimit
displayLoadMore: props.river.size >= props.loadMoreLimit
};

this.query = clone(context.router.location.query);
Expand Down

0 comments on commit fa6433b

Please sign in to comment.