This repository was archived by the owner on Sep 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import { NOOP_SETTINGS_CASCADE } from '@sourcegraph/shared/src/testing/searchTes
15
15
import { AuthenticatedUser } from '../auth'
16
16
import { WebStory } from '../components/WebStory'
17
17
import { SearchPatternType } from '../graphql-operations'
18
- import { useExperimentalFeatures } from '../stores'
19
18
20
19
import { cncf } from './cncf'
21
20
import { CommunitySearchContextPage , CommunitySearchContextPageProps } from './CommunitySearchContextPage'
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export interface UserNavItemProps {
49
49
export const UserNavItem : FC < UserNavItemProps > = props => {
50
50
const {
51
51
authenticatedUser,
52
- showDotComMarketing ,
52
+ isSourcegraphDotCom ,
53
53
codeHostIntegrationMessaging,
54
54
menuButtonRef,
55
55
showFeedbackModal,
@@ -183,7 +183,7 @@ export const UserNavItem: FC<UserNavItemProps> = props => {
183
183
</ MenuLink >
184
184
) }
185
185
< MenuDivider className = { styles . dropdownDivider } />
186
- { showDotComMarketing && (
186
+ { isSourcegraphDotCom && (
187
187
< MenuLink
188
188
as = { AnchorLink }
189
189
to = "https://about.sourcegraph.com"
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import { extensionsController } from '@sourcegraph/shared/src/testing/searchTest
9
9
10
10
import { WebStory } from '../../components/WebStory'
11
11
import { MockedFeatureFlagsProvider } from '../../featureFlags/MockedFeatureFlagsProvider'
12
- import { useExperimentalFeatures } from '../../stores'
13
12
14
13
import { SearchPage , SearchPageProps } from './SearchPage'
15
14
You can’t perform that action at this time.
0 commit comments