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; return;
} }
const joinedMembers = response.filter( const joinedMembers =
(member) => member.status === 'joined' response?.filter((member) => member.status === 'joined') || [];
);
membersCache.set(teamId, joinedMembers); membersCache.set(teamId, joinedMembers);
} }

Loading…
Cancel
Save