Skip to content

Commit

Permalink
refactor: changed order of shelters to updated at instead priority sum (
Browse files Browse the repository at this point in the history
#137) (#140)

Co-authored-by: José Geraldo D. F <[email protected]>
  • Loading branch information
filipepacheco and fagundesjg authored May 14, 2024
1 parent 4e0d9c0 commit 38019f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useShelters/useShelters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const useShelters = (options: IUseShelterOptions = {}) => {
...config,
headers,
params: {
orderBy: 'prioritySum',
orderBy: 'updatedAt',
order: 'desc',
search:
search ?? new URLSearchParams(window.location.search).toString(),
Expand Down

0 comments on commit 38019f8

Please sign in to comment.