Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
fix imports from branded
Browse files Browse the repository at this point in the history
  • Loading branch information
tjkandala committed Oct 8, 2020
1 parent 55349e9 commit a2412e4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 69 deletions.
2 changes: 2 additions & 0 deletions client/web/src/SourcegraphWebApp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ body,
@import './repo/RepoContainer';
@import './repo/FilePathBreadcrumbs.scss';
@import './repo/settings/RepoSettingsArea';
@import './repo/actions//InstallBrowserExtensionPopover.scss';
@import './repo/actions/InstallBrowserExtensionAlert.scss';
@import './components/LoaderInput';
@import '../../branded/src/components/CodeSnippet';
@import './components/PageHeader';
Expand Down
67 changes: 0 additions & 67 deletions client/web/src/repo/actions/GoToCodeHostAction.test.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion client/web/src/repo/actions/GoToCodeHostAction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ export const GoToCodeHostAction: React.FunctionComponent<Props> = props => {

if (hijackLink) {
event.preventDefault()

setShowPopover(true)
}
},
Expand Down Expand Up @@ -190,6 +189,7 @@ export const GoToCodeHostAction: React.FunctionComponent<Props> = props => {
// empty href is OK because we always set tabindex=0
href={hijackLink ? '' : url}
target="_self"
rel="noopener noreferrer"
data-tooltip={`View on ${displayName}`}
id={TARGET_ID}
onClick={onClick}
Expand Down
2 changes: 1 addition & 1 deletion client/web/src/repo/blob/actions/ToggleLineWrap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { fromEvent, Subject, Subscription } from 'rxjs'
import { filter } from 'rxjs/operators'
import { WrapDisabledIcon } from '../../../../../shared/src/components/icons'
import { ButtonLink } from '../../../../../shared/src/components/LinkOrButton'
import { Tooltip } from '../../../components/tooltip/Tooltip'
import { Tooltip } from '../../../../../branded/src/components/tooltip/Tooltip'
import { eventLogger } from '../../../tracking/eventLogger'

/**
Expand Down

0 comments on commit a2412e4

Please sign in to comment.