From 999acb4cf2b3a95d3e6e6adde65dca19d315942a Mon Sep 17 00:00:00 2001 From: Christopher Berge Hove Date: Fri, 15 Nov 2024 14:31:20 +0100 Subject: [PATCH] fix: update import path for useFramework in PortalContextSelector and uncomment component in ProjectPortalPage --- .../src/components/context/PortalContextSelector.tsx | 2 +- .../project-portal-landingpage/src/pages/ProjectPortalPage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/portal/project-portal-landingpage/src/components/context/PortalContextSelector.tsx b/portal/project-portal-landingpage/src/components/context/PortalContextSelector.tsx index 05b0cb3a..b459e73f 100644 --- a/portal/project-portal-landingpage/src/components/context/PortalContextSelector.tsx +++ b/portal/project-portal-landingpage/src/components/context/PortalContextSelector.tsx @@ -8,7 +8,7 @@ import { } from '@equinor/fusion-portal-react-context'; import { getContextPageURL } from '@equinor/project-portal-common'; import { NavigationModule } from '@equinor/fusion-framework-module-navigation'; -import { useFramework } from '@equinor/fusion-framework-react'; +import { useFramework } from '@equinor/fusion-framework-react-app/framework'; import { useMemo } from 'react'; const StyledWrapper = styled.div` diff --git a/portal/project-portal-landingpage/src/pages/ProjectPortalPage.tsx b/portal/project-portal-landingpage/src/pages/ProjectPortalPage.tsx index 8d7a3227..368915c1 100644 --- a/portal/project-portal-landingpage/src/pages/ProjectPortalPage.tsx +++ b/portal/project-portal-landingpage/src/pages/ProjectPortalPage.tsx @@ -65,7 +65,7 @@ export const ProjectPortalPage = (): JSX.Element => { applications associated with the selected context through the menu. - {/* */} + {feature?.enabled && }