Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
christianalfoni committed Mar 30, 2020
1 parent 2155e56 commit 3793760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app/src/app/overmind/namespaces/comments/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ export const state: State = {
}

function sortByInsertedAt(
commentA: CommentFragment | null,
commentB: CommentFragment | null
commentA: CommentFragment,
commentB: CommentFragment
) {
const aDate = new Date(commentA.insertedAt);
const bDate = new Date(commentB.insertedAt);
Expand Down

0 comments on commit 3793760

Please sign in to comment.