diff --git a/src/components/ShareOptions/ShareTeamMemberList.tsx b/src/components/ShareOptions/ShareTeamMemberList.tsx index d23145fb6..6b1e4b35a 100644 --- a/src/components/ShareOptions/ShareTeamMemberList.tsx +++ b/src/components/ShareOptions/ShareTeamMemberList.tsx @@ -71,7 +71,10 @@ export function ShareTeamMemberList(props: ShareTeamMemberListProps) { return; } - membersCache.set(teamId, response); + const joinedMembers = response.filter( + (member) => member.status === 'joined' + ); + membersCache.set(teamId, joinedMembers); } useEffect(() => {