Minor change

fix/members
Arik Chakma 1 year ago
parent 79be49bcae
commit 42c7ae5a26
  1. 5
      src/components/ShareOptions/ShareTeamMemberList.tsx

@ -71,9 +71,8 @@ export function ShareTeamMemberList(props: ShareTeamMemberListProps) {
return;
}
const joinedMembers = response.filter(
(member) => member.status === 'joined'
);
const joinedMembers =
response?.filter((member) => member.status === 'joined') || [];
membersCache.set(teamId, joinedMembers);
}

Loading…
Cancel
Save