Skip to content

Commit

Permalink
chore: add feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mavarius committed Jan 11, 2024
1 parent 2269c83 commit 00d7d1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pageLayout/containers/MainNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down Expand Up @@ -374,7 +376,7 @@ export const MainNavigation: FC = () => {
</TreeNav.Item>
)
})}
{accountType === 'free' && (
{showPocRequest && (
<RequestPocWidget expanded={navbarMode === 'expanded'} />
)}
<TreeNav.Item
Expand Down

0 comments on commit 00d7d1e

Please sign in to comment.