(nextProps)
| 24 | }, |
| 25 | |
| 26 | componentWillReceiveProps(nextProps) { |
| 27 | if (nextProps.current != this.props.current) { |
| 28 | this.setState({ |
| 29 | current: nextProps.current || 1, |
| 30 | }); |
| 31 | } |
| 32 | }, |
| 33 | |
| 34 | onPageChange(page){ |
| 35 | const {total, onChange} = this.props; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…