Make distributions required
This commit is contained in:
parent
59e937ad7c
commit
46fd5900d2
|
@ -36,7 +36,7 @@ const schema = yup
|
|||
.of(
|
||||
yup.object().required().shape({
|
||||
name: yup.string().required(),
|
||||
distribution: yup.mixed(),
|
||||
distribution: yup.mixed().required(),
|
||||
})
|
||||
),
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user