Skip to content

Commit 3793760

Browse files
fix typing
1 parent 2155e56 commit 3793760

File tree

1 file changed

+2
-2
lines changed
  • packages/app/src/app/overmind/namespaces/comments

1 file changed

+2
-2
lines changed

packages/app/src/app/overmind/namespaces/comments/state.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ export const state: State = {
123123
}
124124

125125
function sortByInsertedAt(
126-
commentA: CommentFragment | null,
127-
commentB: CommentFragment | null
126+
commentA: CommentFragment,
127+
commentB: CommentFragment
128128
) {
129129
const aDate = new Date(commentA.insertedAt);
130130
const bDate = new Date(commentB.insertedAt);

0 commit comments

Comments
 (0)