Skip to content

Commit f1a0f1c

Browse files
authored
refactor: changed order of shelters to updated at instead priority sum (#137)
1 parent 4708075 commit f1a0f1c

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)