Skip to content

Commit

Permalink
Merge pull request #138 from ChtiJS/fix/types
Browse files Browse the repository at this point in the history
fix(lint): fix other linting issues
  • Loading branch information
nfroidure authored Nov 21, 2023
2 parents 15116fa + 95cba11 commit 9c9aedd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/conferences/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export const entriesToBaseProps = (
content: parseMarkdown(entry.body) as MarkdownRootNode,
}))
.filter((entry) => !entry.draft || process.env.NODE_ENV === 'development')
.sort(({ date: dateA }: any, { date: dateB }: any) =>
.sort(({ date: dateA }: { date: string }, { date: dateB }: { date: string }) =>
Date.parse(dateA) > Date.parse(dateB) ? -1 : 1
);

Expand Down

0 comments on commit 9c9aedd

Please sign in to comment.