diff --git a/app/components/building/pagination.tsx b/app/components/building/pagination.tsx index 9d676dc9..ac7882ed 100644 --- a/app/components/building/pagination.tsx +++ b/app/components/building/pagination.tsx @@ -12,40 +12,34 @@ type Props = { // // Renders nothing at all when everything fits on one page, matching the YUI's `alwaysVisible: false`. // -const Pagination: React.FunctionComponent = ({ page, pageCount, onChange }) => { - if (pageCount <= 1) { - return null; - } +const Pagination: React.FunctionComponent = ({ page, pageCount, onChange }) => ( + +); export default Pagination; diff --git a/app/components/stats/allianceTab.tsx b/app/components/stats/allianceTab.tsx index d4d97edf..f55c0eab 100644 --- a/app/components/stats/allianceTab.tsx +++ b/app/components/stats/allianceTab.tsx @@ -43,7 +43,7 @@ const AllianceTab: React.FunctionComponent = () => { */} -
+
diff --git a/app/components/stats/empireTab.tsx b/app/components/stats/empireTab.tsx index e3cd557b..d3c61caf 100644 --- a/app/components/stats/empireTab.tsx +++ b/app/components/stats/empireTab.tsx @@ -44,7 +44,7 @@ const EmpireTab: React.FunctionComponent = () => { */} -
+