mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
validation fix
This commit is contained in:
parent
49ac2ba909
commit
6f79e16e4d
@ -25,7 +25,7 @@ export const validationSchema = Yup.object().shape<MetadataPublishForm>({
|
||||
// ---- optional fields ----
|
||||
copyrightHolder: Yup.string(),
|
||||
tags: Yup.string(),
|
||||
links: Yup.object<FileMetadata[]>()
|
||||
links: Yup.object<FileMetadata[]>().nullable()
|
||||
})
|
||||
|
||||
export const initialValues: MetadataPublishForm = {
|
||||
|
Loading…
Reference in New Issue
Block a user