Skip to content

Commit

Permalink
Automated code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Loculus bot committed May 22, 2024
1 parent 85cdc7a commit 1f72c80
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions website/src/components/SearchPage/SearchPagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ export const SearchPagination: FC<SearchPaginationProps> = ({
<MUIPagination
count={count}
page={page}
onChange={(_, newPage) => {setPage(newPage)
onChange={(_, newPage) => {
setPage(newPage);
window.scrollTo({ top: 0, behavior: 'smooth' });
}


}
}}
color='primary'
variant='outlined'
shape='rounded'
Expand Down

0 comments on commit 1f72c80

Please sign in to comment.