Skip to content

Commit

Permalink
Set page to 1 when searching (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
Redm4x authored Apr 12, 2024
1 parent 155074d commit 651ec4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy-web/src/pages/providers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ const ProvidersPage: React.FunctionComponent<Props> = ({}) => {
const onSearchChange = event => {
const value = event.target.value;
setSearch(value);
setPage(1);
};

const handleSortChange = event => {
Expand Down

0 comments on commit 651ec4e

Please sign in to comment.