diff --git a/src/components/CaptureTable.js b/src/components/CaptureTable.js index bf150e93e..17380126b 100644 --- a/src/components/CaptureTable.js +++ b/src/components/CaptureTable.js @@ -156,9 +156,9 @@ const CaptureTable = () => { }); }; - const handlePageChange = () => { + const handlePageChange = (e, newPage) => { loadCaptures({ - page: capturesContext.page + 1, + page: newPage, rowsPerPage: capturesContext.rowsPerPage, filter: capturesContext.filter, }); @@ -228,7 +228,7 @@ const CaptureTable = () => { )} - +
- - - - - - - - - + + + + + + + ); }