Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NishiPhalke committed Sep 11, 2022
1 parent ea13434 commit 704b36d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export type CustomizedTableProps = MUITableProps & { tabledata: Array<Object>, r
const CustomizedTable:React.FC<CustomizedTableProps> = (props) => {
const [page, setPage] = React.useState(0);
const [rowsPerPage, setRowsPerPage] = React.useState(props.rowsPerPage && props.rowsPerPage[0] || 10);
const handleChangePage = (_, newPage: number) => {
const handleChangePage = (_: any, newPage: number) => {
setPage(newPage);
};

Expand Down

0 comments on commit 704b36d

Please sign in to comment.