From 00d7d1eeb8fd35b314713a3955bc0e27d427254e Mon Sep 17 00:00:00 2001 From: Daniel Campbell Date: Thu, 11 Jan 2024 10:30:32 -0800 Subject: [PATCH] chore: add feature flag --- src/pageLayout/containers/MainNavigation.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pageLayout/containers/MainNavigation.tsx b/src/pageLayout/containers/MainNavigation.tsx index 1f08beef80..268057f324 100644 --- a/src/pageLayout/containers/MainNavigation.tsx +++ b/src/pageLayout/containers/MainNavigation.tsx @@ -249,6 +249,8 @@ export const MainNavigation: FC = () => { const shouldShowNotebooks = useSelector(selectShouldShowNotebooks) const isNewIOxOrg = useSelector(selectIsNewIOxOrg) const isIOxOrg = useSelector(isOrgIOx) + const showPocRequest = + accountType === 'free' && isFlagEnabled('navbarPocRequest') const dispatch = useDispatch() @@ -374,7 +376,7 @@ export const MainNavigation: FC = () => { ) })} - {accountType === 'free' && ( + {showPocRequest && ( )}