diff --git a/frontend/src/component/project/Project/ProjectOverview.tsx b/frontend/src/component/project/Project/ProjectOverview.tsx index 11f07e532e..804f7cb1a8 100644 --- a/frontend/src/component/project/Project/ProjectOverview.tsx +++ b/frontend/src/component/project/Project/ProjectOverview.tsx @@ -11,6 +11,7 @@ import { useRequiredPathParam } from 'hooks/useRequiredPathParam'; import { useLastViewedProject } from 'hooks/useLastViewedProject'; import { ProjectStats } from './ProjectStats/ProjectStats'; import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender'; +import { useUiFlag } from 'hooks/useUiFlag'; const refreshInterval = 15 * 1000; @@ -43,6 +44,7 @@ const ProjectOverview = () => { project; usePageTitle(`Project overview – ${projectName}`); const { setLastViewed } = useLastViewedProject(); + const featureSwitchRefactor = useUiFlag('featureSwitchRefactor'); useEffect(() => { setLastViewed(projectId); @@ -62,7 +64,7 @@ const ProjectOverview = () => { (