diff --git a/plugins/woocommerce-admin/client/components/pagination/index.js b/plugins/woocommerce-admin/client/components/pagination/index.js index 7ebc9cf1aab..7f22b024786 100644 --- a/plugins/woocommerce-admin/client/components/pagination/index.js +++ b/plugins/woocommerce-admin/client/components/pagination/index.js @@ -57,7 +57,7 @@ class Pagination extends Component { const { onPageChange } = this.props; const newPage = parseInt( event.target.value, 10 ); - if ( isFinite( newPage ) ) { + if ( isFinite( newPage ) && this.pageCount && this.pageCount >= newPage ) { onPageChange( newPage ); } }