From 454005bf9f2b47f7ede2dd8bc662ac4195720dcb Mon Sep 17 00:00:00 2001 From: Ben Stetzer Date: Wed, 24 Nov 2021 18:59:27 -0500 Subject: [PATCH] fix: increased default page size in the Species tool --- src/components/SpeciesTable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/SpeciesTable.js b/src/components/SpeciesTable.js index 6a132406d..b512cb269 100644 --- a/src/components/SpeciesTable.js +++ b/src/components/SpeciesTable.js @@ -115,7 +115,7 @@ const SpeciesTable = (props) => { const sortOptions = { byId: 'id', byName: 'name' }; const speciesContext = useContext(SpeciesContext); const [page, setPage] = useState(0); - const [rowsPerPage, setRowsPerPage] = useState(5); + const [rowsPerPage, setRowsPerPage] = useState(25); const [isEdit, setIsEdit] = useState(false); const [isAdding, setIsAdding] = useState(false); const [speciesEdit, setSpeciesEdit] = useState(undefined); @@ -226,7 +226,7 @@ const SpeciesTable = (props) => { const tablePagination = () => (