Skip to content

Commit

Permalink
fix: page number and query param
Browse files Browse the repository at this point in the history
  • Loading branch information
nhestrompia committed Sep 11, 2023
1 parent 40ec2ca commit 041c945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/context/FilterProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const FilterProvider: React.FC<{ children?: React.ReactNode }> = ({ child

useEffect(() => {
setCurrentPage(1);
}, [statusFilter]);
}, [statusFilter, courtFilter]);

useEffect(() => {
const disputes = isDashboard
Expand Down
2 changes: 1 addition & 1 deletion web/src/hooks/queries/useMyAppealCasesQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const myAppealCases = graphql(`
query MyAppealCases($id: ID!, $where: Dispute_filter) {
user(id: $id) {
disputes(orderBy: lastPeriodChange, where: $where) {
period
id
}
}
}
Expand Down

0 comments on commit 041c945

Please sign in to comment.