Skip to content

Commit e6df7af

Browse files
committed
update comment
1 parent cc5f31b commit e6df7af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useSendMessage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const useSendMessage = () => {
4141
const room = rooms.find((room) => room.roomId === roomId);
4242

4343
if (room && !room.groupName) {
44-
// Find the opposing user ID among one-to-one room participants
44+
// Find the opposite user ID among one-to-one room participants
4545
const oppositeUserId = room.participants.find(
4646
(id) => id !== selfUser?._id && !id.startsWith("system"),
4747
);

0 commit comments

Comments
 (0)