mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
non-formik form fix
This commit is contained in:
parent
f440e178dd
commit
a5f416c878
@ -39,6 +39,7 @@ export default function Input(props: Partial<InputProps>): ReactElement {
|
||||
const { required, name, label, help, additionalComponent, field } = props
|
||||
|
||||
const hasError =
|
||||
props.form &&
|
||||
props.form.touched[field.name] &&
|
||||
typeof props.form.errors[field.name] === 'string'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user