diff --git a/src/components/pages/Publish/FormPublish.tsx b/src/components/pages/Publish/FormPublish.tsx index 0e19aafbc..80d74a175 100644 --- a/src/components/pages/Publish/FormPublish.tsx +++ b/src/components/pages/Publish/FormPublish.tsx @@ -1,7 +1,7 @@ import React, { ReactElement, useEffect, FormEvent } from 'react' import styles from './FormPublish.module.css' import { useOcean } from '@oceanprotocol/react' -import { useFormikContext, Field } from 'formik' +import { useFormikContext, Field, Form } from 'formik' import Input from '../../atoms/Input' import Button from '../../atoms/Button' import { FormContent, FormFieldProps } from '../../../@types/Form' @@ -37,7 +37,7 @@ export default function FormPublish({ } return ( -
status === 'empty' && setStatus(null)} @@ -61,6 +61,6 @@ export default function FormPublish({ )} -
+ ) }