diff --git a/web/components/pagination.tsx b/web/components/pagination.tsx index f5c5eeab..968e49a8 100644 --- a/web/components/pagination.tsx +++ b/web/components/pagination.tsx @@ -3,8 +3,9 @@ export function Pagination(props: { itemsPerPage: number totalItems: number setPage: (page: number) => void + scrollToTop?: boolean }) { - const { page, itemsPerPage, totalItems, setPage } = props + const { page, itemsPerPage, totalItems, setPage, scrollToTop } = props return (