Skip to content

Commit 7c16d87

Browse files
authored
fix: correct url in createorg-orglist page (#6316)
1 parent 0a6ac0d commit 7c16d87

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/identity/components/OrganizationListTab/OrgBannerPanel.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Libraries
22
import React, {FC} from 'react'
3-
import {useSelector} from 'react-redux'
43
import {BannerPanel, FlexBox, Gradients, IconFont} from '@influxdata/clockface'
54

65
// Styles
@@ -9,22 +8,17 @@ import './OrgBannerPanel.scss'
98
// Constants
109
import {CLOUD_URL} from 'src/shared/constants'
1110

12-
// Selectors
13-
import {selectCurrentOrgId} from 'src/identity/selectors'
14-
1511
// Types
1612
import {OrgAllowance} from 'src/identity/components/OrganizationListTab'
1713

1814
export const OrgBannerPanel: FC<OrgAllowance> = ({
1915
availableUpgrade,
2016
isAtOrgLimit,
2117
}) => {
22-
const orgId = useSelector(selectCurrentOrgId)
23-
2418
let upgradePage = '/'
2519

2620
if (availableUpgrade === 'pay_as_you_go') {
27-
upgradePage = `${CLOUD_URL}/orgs/${orgId}/checkout`
21+
upgradePage = `${CLOUD_URL}/checkout`
2822
}
2923

3024
return (

0 commit comments

Comments
 (0)