Skip to content

Commit

Permalink
CW-2366 Fixed PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pvm-code committed Dec 14, 2023
1 parent 7a972d5 commit d4ac7e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const useDiscussionChatAdapter = (options: Options): Return => {
const userId = user?.uid;
const { data: commonMembers, fetchCommonMembers } = useCommonMembers();

const allUsers = useMemo(() => commonMembers.map(({user}) => user),[commonMembers]);
const allUsers = useMemo(() => commonMembers.map(({ user }) => user), [commonMembers]);

const discussionUsers = useMemo(
() => allUsers.filter((user) => user.uid !== userId),
Expand Down

0 comments on commit d4ac7e4

Please sign in to comment.