React router #343

Merged
bones7242 merged 96 commits from react-router into master 2018-02-15 08:02:17 +01:00
Showing only changes of commit d13f4326b5 - Show all commits

View file

@ -48,11 +48,11 @@ class ChannelClaimsDisplay extends React.Component {
} }
showPreviousResultsPage () { showPreviousResultsPage () {
const previousPage = parseInt(this.state.currentPage) - 1; const previousPage = parseInt(this.state.currentPage) - 1;
this.updateClaimsData(previousPage); this.updateClaimsData(this.props.name, this.props.longId, previousPage);
} }
showNextResultsPage () { showNextResultsPage () {
const nextPage = parseInt(this.state.currentPage) + 1; const nextPage = parseInt(this.state.currentPage) + 1;
this.updateClaimsData(nextPage); this.updateClaimsData(this.props.name, this.props.longId, nextPage);
} }
render () { render () {
return ( return (