File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,6 @@ import {getQuartzIdentityThunk} from 'src/identity/actions/thunks'
3535import { selectCurrentIdentity } from 'src/identity/selectors'
3636import { shouldGetCredit250Experience } from 'src/me/selectors'
3737
38- // Constants
39- import { CLOUD } from 'src/shared/constants'
40-
4138export type Props = {
4239 children : JSX . Element
4340}
@@ -316,9 +313,7 @@ export const CheckoutProvider: FC<Props> = React.memo(({children}) => {
316313 } finally {
317314 setIsSubmitting ( false )
318315 // Refresh whether user is allowed to create new orgs after upgrading to PAYG.
319- if ( CLOUD ) {
320316 dispatch ( getOrgCreationAllowancesThunk ( ) )
321- }
322317 }
323318 } ,
324319 [
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import {
1414import { OrganizationSummaries } from 'src/client/unityRoutes'
1515
1616// Constants
17- import { CLOUD , CLOUD_URL } from 'src/shared/constants'
17+ import { CLOUD_URL } from 'src/shared/constants'
1818
1919// Eventing
2020import {
@@ -75,7 +75,7 @@ export const OrgDropdown: FC<Props> = ({activeOrg, orgsList}) => {
7575 }
7676
7777 useEffect ( ( ) => {
78- if ( CLOUD && orgCreationAllowanceStatus === RemoteDataState . NotStarted ) {
78+ if ( orgCreationAllowanceStatus === RemoteDataState . NotStarted ) {
7979 dispatch ( getOrgCreationAllowancesThunk ( ) )
8080 }
8181 } , [ dispatch , orgCreationAllowanceStatus ] )
You can’t perform that action at this time.
0 commit comments