From b21ae4164dbe3093a8fc069eb360536a04e12ad9 Mon Sep 17 00:00:00 2001 From: olav Date: Wed, 22 Jun 2022 14:58:05 +0200 Subject: [PATCH] refactor: remove outdated root role info text (#1112) * refactor: remove unused imports * refactor: remove outdated root role info text --- .../Project/ProjectHealth/ReportTable/ReportTable.tsx | 10 +--------- .../ProjectAccessAddUser/ProjectAccessAddUser.tsx | 5 ----- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/frontend/src/component/project/Project/ProjectHealth/ReportTable/ReportTable.tsx b/frontend/src/component/project/Project/ProjectHealth/ReportTable/ReportTable.tsx index 063cea89d1..5a01c35114 100644 --- a/frontend/src/component/project/Project/ProjectHealth/ReportTable/ReportTable.tsx +++ b/frontend/src/component/project/Project/ProjectHealth/ReportTable/ReportTable.tsx @@ -1,14 +1,6 @@ import { useMemo, useEffect } from 'react'; import { IFeatureToggleListItem } from 'interfaces/featureToggle'; -import { - SortableTableHeader, - Table, - TableBody, - TableCell, - TablePlaceholder, - TableRow, - VirtualizedTable, -} from 'component/common/Table'; +import { TablePlaceholder, VirtualizedTable } from 'component/common/Table'; import { PageContent } from 'component/common/PageContent/PageContent'; import { SearchHighlightProvider } from 'component/common/Table/SearchHighlightContext/SearchHighlightContext'; import { PageHeader } from 'component/common/PageHeader/PageHeader'; diff --git a/frontend/src/component/project/ProjectAccess/ProjectAccessAddUser/ProjectAccessAddUser.tsx b/frontend/src/component/project/ProjectAccess/ProjectAccessAddUser/ProjectAccessAddUser.tsx index 7dc26da7a3..1def83082c 100644 --- a/frontend/src/component/project/ProjectAccess/ProjectAccessAddUser/ProjectAccessAddUser.tsx +++ b/frontend/src/component/project/ProjectAccess/ProjectAccessAddUser/ProjectAccessAddUser.tsx @@ -6,7 +6,6 @@ import { Button, InputAdornment, SelectChangeEvent, - Alert, } from '@mui/material'; import { Search } from '@mui/icons-material'; import Autocomplete from '@mui/material/Autocomplete'; @@ -152,10 +151,6 @@ export const ProjectAccessAddUser = ({ roles }: IProjectAccessAddUserProps) => { return ( <> - - The user must have an Unleash root role before added to the - project. -