Skip to content

Commit

Permalink
Remove obsolete JSDoc types
Browse files Browse the repository at this point in the history
  • Loading branch information
robertknight committed Dec 11, 2024
1 parent f1ef392 commit 5c82a76
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/navigation/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@ export default function Pagination({
const hasPreviousPage = currentPage > 1;
const pageNumbers = pageNumberOptions(currentPage, totalPages);

/**
* @param {number} pageNumber
* @param {HTMLElement} element
*/
const changePageTo = (pageNumber: number, element: HTMLElement) => {
onChangePage(pageNumber);
// Because changing pagination page doesn't reload the page (as it would
Expand Down

0 comments on commit 5c82a76

Please sign in to comment.