Skip to content

Commit

Permalink
feat(ui): use safeBlankLinkOpen
Browse files Browse the repository at this point in the history
  • Loading branch information
mavarius committed Nov 9, 2023
1 parent 74c32ac commit 23521d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pageLayout/containers/MainNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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 (
Expand Down

0 comments on commit 23521d4

Please sign in to comment.