Skip to content

Commit

Permalink
Projects: default sort by -lastModifiedAt
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarrenechea committed Jul 19, 2021
1 parent 282776f commit f2a98ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/hooks/projects/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function useProjects(options: UseProjectsOptionsProps): UseProjectsRespon
const {
filters = {},
search,
sort,
sort = '-lastModifiedAt',
} = options;

const parsedFilters = Object.keys(filters)
Expand Down Expand Up @@ -260,7 +260,7 @@ export function usePublishedProjects(options: UsePublishedProjectsProps = {}) {
const {
search,
filters = {},
sort,
sort = '-lastModifiedAt',
} = options;

const parsedFilters = Object.keys(filters)
Expand Down

0 comments on commit f2a98ed

Please sign in to comment.