(ui): fix build

This commit is contained in:
Ken Hibino
2021-10-22 06:08:41 -07:00
parent a40bb37750
commit 32c5bac6cc
16 changed files with 41 additions and 41 deletions

View File

@@ -103,14 +103,14 @@ function RetryTasksTable(props: Props & ReduxProps) {
const [selectedIds, setSelectedIds] = useState<string[]>([]);
const [activeTaskId, setActiveTaskId] = useState<string>("");
const handleChangePage = (
const handlePageChange = (
event: React.MouseEvent<HTMLButtonElement> | null,
newPage: number
) => {
setPage(newPage);
};
const handleChangeRowsPerPage = (
const handleRowsPerPageChange = (
event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>
) => {
props.taskRowsPerPageChange(parseInt(event.target.value, 10));
@@ -311,8 +311,8 @@ function RetryTasksTable(props: Props & ReduxProps) {
inputProps: { "aria-label": "rows per page" },
native: true,
}}
onChangePage={handleChangePage}
onChangeRowsPerPage={handleChangeRowsPerPage}
onPageChange={handlePageChange}
onRowsPerPageChange={handleRowsPerPageChange}
ActionsComponent={TablePaginationActions}
className={classes.pagination}
/>