diff --git a/src/components/Forms/Algorithm/AlgorithmSubmission.css b/src/components/Forms/Algorithm/AlgorithmSubmission.css index aeba0a4..b325848 100644 --- a/src/components/Forms/Algorithm/AlgorithmSubmission.css +++ b/src/components/Forms/Algorithm/AlgorithmSubmission.css @@ -8,6 +8,9 @@ .right { display: flex; justify-content: flex-end; + margin-top: -10px; + margin-left: -20px; + cursor: pointer; } .inputContainer { diff --git a/src/components/Forms/Algorithm/AlgorithmSubmission.tsx b/src/components/Forms/Algorithm/AlgorithmSubmission.tsx index d924592..745f52f 100644 --- a/src/components/Forms/Algorithm/AlgorithmSubmission.tsx +++ b/src/components/Forms/Algorithm/AlgorithmSubmission.tsx @@ -1,6 +1,5 @@ import React from 'react'; -// import * as yup from 'yup'; -import { Button, Fab } from '@material-ui/core'; +import { Button } from '@material-ui/core'; import { Field, Form, Formik } from 'formik'; import { FormikActions } from 'formik'; import { comicApi } from 'src/services/comicApi'; @@ -173,15 +172,7 @@ class AlgorithmSubmission extends React.Component { >

{benchmark.submission_instruction}

} -
- this.setState({ showHelp: true })} - > - - -
+ {!isSaved ? <>
@@ -229,6 +220,12 @@ class AlgorithmSubmission extends React.Component {
+
+ this.setState({ showHelp: true })} + /> +
{!createNewAlgorithm && errors.name && touched.name && errors.name}