Skip to content

Commit

Permalink
fix(frontend): Update instruction link in upload pipeline page. (#5847)
Browse files Browse the repository at this point in the history
  • Loading branch information
zijianjoy authored Jun 11, 2021
1 parent 0ed0710 commit 039e8a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/UploadPipelineDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,10 @@ class UploadPipelineDialog extends React.Component<

export default UploadPipelineDialog;

const DocumentationCompilePipeline: React.FC = () => (
export const DocumentationCompilePipeline: React.FC = () => (
<div className={padding(10, 'b')}>
For expected file format, refer to{' '}
<ExternalLink href='https://www.kubeflow.org/docs/pipelines/sdk/build-component/#compile-the-pipeline'>
<ExternalLink href='https://www.kubeflow.org/docs/components/pipelines/sdk/v2/build-pipeline/#compile-and-run-your-pipeline'>
Compile Pipeline Documentation
</ExternalLink>
.
Expand Down
11 changes: 1 addition & 10 deletions frontend/src/pages/NewPipelineVersion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import { Description } from '../components/Description';
import FormControlLabel from '@material-ui/core/FormControlLabel';
import Radio from '@material-ui/core/Radio';
import { ExternalLink } from '../atoms/ExternalLink';
import { DocumentationCompilePipeline } from 'src/components/UploadPipelineDialog';

interface NewPipelineVersionState {
validationError: string;
Expand Down Expand Up @@ -664,13 +665,3 @@ class NewPipelineVersion extends Page<{}, NewPipelineVersionState> {
}

export default NewPipelineVersion;

const DocumentationCompilePipeline: React.FC = () => (
<div className={padding(10, 'b')}>
For expected file format, refer to{' '}
<ExternalLink href='https://www.kubeflow.org/docs/pipelines/sdk/build-component/#compile-the-pipeline'>
Compile Pipeline Documentation
</ExternalLink>
.
</div>
);

0 comments on commit 039e8a6

Please sign in to comment.