1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +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 ---- // ---- optional fields ----
copyrightHolder: Yup.string(), copyrightHolder: Yup.string(),
tags: Yup.string(), tags: Yup.string(),
links: Yup.object<FileMetadata[]>() links: Yup.object<FileMetadata[]>().nullable()
}) })
export const initialValues: MetadataPublishForm = { export const initialValues: MetadataPublishForm = {