Skip to content

Commit 38019f8

Browse files
refactor: changed order of shelters to updated at instead priority sum (#137) (#140)
Co-authored-by: José Geraldo D. F <[email protected]>
1 parent 4e0d9c0 commit 38019f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useShelters/useShelters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const useShelters = (options: IUseShelterOptions = {}) => {
2727
...config,
2828
headers,
2929
params: {
30-
orderBy: 'prioritySum',
30+
orderBy: 'updatedAt',
3131
order: 'desc',
3232
search:
3333
search ?? new URLSearchParams(window.location.search).toString(),

0 commit comments

Comments
 (0)