From ff383f2501ac7e95593628ebdaa34592b42f5cb5 Mon Sep 17 00:00:00 2001 From: Ankit varsheny Date: Wed, 6 Nov 2024 21:28:31 +0530 Subject: [PATCH] fix failing test cases --- src/screens/OrganizationPeople/AddMember.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/screens/OrganizationPeople/AddMember.tsx b/src/screens/OrganizationPeople/AddMember.tsx index 59b4887fb3..403ea5a923 100644 --- a/src/screens/OrganizationPeople/AddMember.tsx +++ b/src/screens/OrganizationPeople/AddMember.tsx @@ -49,6 +49,15 @@ const StyledTableRow = styled(TableRow)(() => ({ }, })); +/** + * AddMember component is used to add new members to the organization by selecting from + * the existing users or creating a new user. + * It uses the following queries and mutations: + * ORGANIZATIONS_LIST, + * ORGANIZATIONS_MEMBER_CONNECTION_LIST, + * USERS_CONNECTION_LIST, + * ADD_MEMBER_MUTATION,SIGNUP_MUTATION. + */ function AddMember(): JSX.Element { const { t: translateOrgPeople } = useTranslation('translation', { keyPrefix: 'organizationPeople',