From 4b4ccb1c787d6c5660ff22835be8086f1fa666a3 Mon Sep 17 00:00:00 2001 From: kyle-ssg Date: Tue, 9 Jul 2024 10:31:28 +0100 Subject: [PATCH] Toggle user groups --- frontend/web/components/UsersGroups.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/web/components/UsersGroups.tsx b/frontend/web/components/UsersGroups.tsx index 108997176ae5..2dd5146dc58f 100644 --- a/frontend/web/components/UsersGroups.tsx +++ b/frontend/web/components/UsersGroups.tsx @@ -20,7 +20,6 @@ const UsersGroups: FC = ({ orgId, user }) => { data, error: groupsError, isLoading, - refetch, } = useGetGroupsQuery({ orgId }) const [updateGroup, { error: saveError, isLoading: isSaving }] = useUpdateGroupMutation({}) @@ -50,7 +49,7 @@ const UsersGroups: FC = ({ orgId, user }) => { ) } id='org-members-list' - title='Members' + title='Groups' className='no-pad overflow-visible' renderSearchWithNoResults items={sortBy(data?.results, 'name')}