When I try to search for a record with a relatively small value, say only 6 or 14 or 19 or 20, the next page button does not enable, but if there are many records, it works fine.
I'm not sure what I'm doing wrong, can anyone help me?
clear = () => { this.setState({ Name: '', lastName: '', }); this.props.clearSearch(); };