1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

validation fix

This commit is contained in:
Matthias Kretschmann 2020-09-02 13:22:35 +02:00
parent 49ac2ba909
commit 6f79e16e4d
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -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 = {