diff --git a/packages/app/src/app/overmind/namespaces/comments/state.ts b/packages/app/src/app/overmind/namespaces/comments/state.ts index 79c87abf215..0e49bbd69c8 100644 --- a/packages/app/src/app/overmind/namespaces/comments/state.ts +++ b/packages/app/src/app/overmind/namespaces/comments/state.ts @@ -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);