Skip to content

Commit

Permalink
fix: variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
disha1202 committed Oct 21, 2024
1 parent 7c2cd06 commit 1b83672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/UserPortal/ChatRoom/ChatRoom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ export default function chatRoom(props: InterfaceChatRoomProps): JSX.Element {
chatRefetch();
} else {
chatRefetch({
id: directMessageSubscriptionData?.data.data.messageSentToDirectChat
.directChatMessageBelongsTo['_id'],
id: messageSubscriptionData?.data.data.messageSentToChat
.chatMessageBelongsTo['_id']
});
}
},
Expand Down

0 comments on commit 1b83672

Please sign in to comment.