From 9a2d181ced9492e7f1926ddc4a1bcb45fab0d394 Mon Sep 17 00:00:00 2001 From: Simon Chaumet Date: Thu, 3 Oct 2024 16:31:33 +0200 Subject: [PATCH] fix(pci.block-storage): remove unwanted discovery banner (#13236) ref: TAPC-1436 Signed-off-by: Simon Chaumet --- .../pci-block-storage/src/pages/list/List.page.tsx | 10 +--------- .../src/pages/onboarding/OnBoarding.page.tsx | 6 +----- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/packages/manager/apps/pci-block-storage/src/pages/list/List.page.tsx b/packages/manager/apps/pci-block-storage/src/pages/list/List.page.tsx index 5986dc35309d..76e6f2967ca3 100644 --- a/packages/manager/apps/pci-block-storage/src/pages/list/List.page.tsx +++ b/packages/manager/apps/pci-block-storage/src/pages/list/List.page.tsx @@ -35,12 +35,7 @@ import { ODS_ICON_SIZE, ODS_SPINNER_SIZE, } from '@ovhcloud/ods-components'; -import { - PciAnnouncementBanner, - PciDiscoveryBanner, - useProject, -} from '@ovh-ux/manager-pci-common'; -import { useAnnouncementBanner } from '@/hooks/useAnnouncementBanner'; +import { PciAnnouncementBanner, useProject } from '@ovh-ux/manager-pci-common'; import { useDatagridColumn } from '@/hooks/useDatagridColumn'; import HidePreloader from '@/core/HidePreloader'; @@ -55,7 +50,6 @@ export default function ListingPage() { const navigate = useNavigate(); const { projectId } = useParams(); const { hasMaintenance, maintenanceURL } = useProductMaintenance(projectId); - const { isBannerVisible } = useAnnouncementBanner(); const columns = useDatagridColumn(projectId, projectUrl); const [searchField, setSearchField] = useState(''); const { data: project } = useProject(); @@ -133,8 +127,6 @@ export default function ListingPage() { - -
{project && } -
- -
-