From 23521d48d54f5621a94457b699fd158dd19092e1 Mon Sep 17 00:00:00 2001 From: Daniel Campbell Date: Thu, 9 Nov 2023 09:42:34 -0800 Subject: [PATCH] feat(ui): use safeBlankLinkOpen --- src/pageLayout/containers/MainNavigation.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pageLayout/containers/MainNavigation.tsx b/src/pageLayout/containers/MainNavigation.tsx index a6066b3dd6..01abd5f669 100644 --- a/src/pageLayout/containers/MainNavigation.tsx +++ b/src/pageLayout/containers/MainNavigation.tsx @@ -25,6 +25,7 @@ import {event} from 'src/cloud/utils/reporting' import {SafeBlankLink} from 'src/utils/SafeBlankLink' import {isFlagEnabled} from 'src/shared/utils/featureFlag' import {isUserOperator} from 'src/operator/utils' +import {safeBlankLinkOpen} from 'src/utils/safeBlankLinkOpen' // Selectors import {getOrg, isOrgIOx} from 'src/organizations/selectors' @@ -311,8 +312,7 @@ export const MainNavigation: FC = () => { const handleRequestPocClick = () => { event('nav.requestPOC.clicked') - const newTab = window.open('https://www.influxdata.com/proof-of-concept/') - newTab.focus() + safeBlankLinkOpen('https://www.influxdata.com/proof-of-concept/') } return (