Skip to content

Commit

Permalink
fixed filter getData (utils)
Browse files Browse the repository at this point in the history
  • Loading branch information
Boutzi committed Oct 25, 2024
1 parent f54c54b commit a60c3af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/getData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const getRepositories = async (): Promise<Repository[]> => {
.filter((repo) => repo.name !== "boutzi")
.sort(
(a, b) =>
new Date(b.updated_at).getTime() - new Date(a.updated_at).getTime()
new Date(b.pushed_at).getTime() - new Date(a.pushed_at).getTime()
)
.slice(0, 4)
);
Expand Down

0 comments on commit a60c3af

Please sign in to comment.