diff --git a/src/components/OrchDelegatorViewer.js b/src/components/OrchDelegatorViewer.js index 82a5ad9..97c7ecc 100644 --- a/src/components/OrchDelegatorViewer.js +++ b/src/components/OrchDelegatorViewer.js @@ -34,6 +34,7 @@ const OrchDelegatorViewer = (obj) => { } const totalPages = (delegators.length + (itemsPerPage - (delegators.length % itemsPerPage))) / itemsPerPage; + const thisPage = (activePage > totalPages) ? totalPages : activePage; return (