diff --git a/src/components/pagination/main.js b/src/components/pagination/main.js index ffdb45ff..ab1e6961 100644 --- a/src/components/pagination/main.js +++ b/src/components/pagination/main.js @@ -136,7 +136,10 @@ import _ from "lodash"; componentWillMount(){ } componentWillReceiveProps(nextProps) { - this.setState({page: nextProps.page}); + + if(nextProps.page){ + this.setState({page: nextProps.page}); + } } render() {