Skip to content

Commit

Permalink
Merge branch 'ccfv' of github.com:loculus-project/loculus into ccfv
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-parker committed May 23, 2024
2 parents 1d915a1 + f375fb7 commit 320d1f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion website/src/components/SearchPage/SearchPagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ export const SearchPagination: FC<SearchPaginationProps> = ({
<MUIPagination
count={count}
page={page}
onChange={(_, newPage) => setPage(newPage)}
onChange={(_, newPage) => {
setPage(newPage);
window.scrollTo({ top: 0 });
}}
color='primary'
variant='outlined'
shape='rounded'
Expand Down

0 comments on commit 320d1f3

Please sign in to comment.