diff --git a/src/components/ShareOptions/ShareTeamMemberList.tsx b/src/components/ShareOptions/ShareTeamMemberList.tsx index 6b1e4b35a..27bb77893 100644 --- a/src/components/ShareOptions/ShareTeamMemberList.tsx +++ b/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); }