Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
myandrienko committed Dec 18, 2024
1 parent 51ed4f8 commit 17f8269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thread.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ export class Thread<SCG extends ExtendableGenerics = DefaultGenerics> {
selectKey: (reply) => reply.id,
});

if (replies[index]?.id !== message.id ? index : null) {
if (replies[index]?.id !== message.id) {
return;
}

Expand Down

0 comments on commit 17f8269

Please sign in to comment.