diff --git a/app/src/ui/check-runs/ci-check-run-list-item.tsx b/app/src/ui/check-runs/ci-check-run-list-item.tsx index 02fc881540..f7c165ee70 100644 --- a/app/src/ui/check-runs/ci-check-run-list-item.tsx +++ b/app/src/ui/check-runs/ci-check-run-list-item.tsx @@ -77,7 +77,6 @@ export class CICheckRunListItem extends React.PureComponent< baseHref={baseHref} loadingActionLogs={loadingActionLogs} loadingActionWorkflows={loadingActionLogs} - onViewOnGitHub={this.onViewOnGitHub} onMarkdownLinkClicked={this.props.onMarkdownLinkClicked} /> ) : null} diff --git a/app/src/ui/check-runs/ci-check-run-logs.tsx b/app/src/ui/check-runs/ci-check-run-logs.tsx index 79904fbe9f..5c132e8b61 100644 --- a/app/src/ui/check-runs/ci-check-run-logs.tsx +++ b/app/src/ui/check-runs/ci-check-run-logs.tsx @@ -5,7 +5,6 @@ import { RefCheckOutputType, } from '../../lib/ci-checks/ci-checks' import classNames from 'classnames' -import { Button } from '../lib/button' import { CICheckRunActionLogs } from './ci-check-run-actions-logs' import { SandboxedMarkdown } from '../lib/sandboxed-markdown' @@ -24,7 +23,6 @@ interface ICICheckRunLogsProps { readonly baseHref: string | null /** Callback to opens check runs on GitHub */ - readonly onViewOnGitHub: (checkRun: IRefCheck) => void /** Callback to open URL's originating from markdown */ readonly onMarkdownLinkClicked: (url: string) => void @@ -32,9 +30,6 @@ interface ICICheckRunLogsProps { /** The CI check list item. */ export class CICheckRunLogs extends React.PureComponent { - private onViewOnGitHub = () => { - this.props.onViewOnGitHub(this.props.checkRun) - } private isNoAdditionalInfoToDisplay(output: IRefCheckOutput): boolean { return ( @@ -136,14 +131,6 @@ export class CICheckRunLogs extends React.PureComponent { return
Loading…
} - private renderViewOnGitHub = () => { - return ( -
- -
- ) - } - private hasActionsWorkflowLogs() { return this.props.checkRun.actionsWorkflowRunId !== undefined } @@ -177,7 +164,6 @@ export class CICheckRunLogs extends React.PureComponent { : this.renderMetaOutput(output, name)} {logsOutput} - {this.renderViewOnGitHub()} ) }