Display 25 results in table by default

This commit is contained in:
Matthew Northcott 2022-08-05 13:37:46 +12:00
parent b3aebebe88
commit 3a013511aa

View file

@ -84,7 +84,7 @@ TablePaginationActions.propTypes = {
export default function PlantResultsTable(props) { export default function PlantResultsTable(props) {
const [page, setPage] = React.useState(0); const [page, setPage] = React.useState(0);
const [rowsPerPage, setRowsPerPage] = React.useState(5); const [rowsPerPage, setRowsPerPage] = React.useState(25);
// Avoid a layout jump when reaching the last page with empty rows. // Avoid a layout jump when reaching the last page with empty rows.
const emptyRows = const emptyRows =