Make distributions required

This commit is contained in:
Sam Nolan 2022-09-21 16:14:06 +10:00
parent 59e937ad7c
commit 46fd5900d2

View File

@ -36,7 +36,7 @@ const schema = yup
.of(
yup.object().required().shape({
name: yup.string().required(),
distribution: yup.mixed(),
distribution: yup.mixed().required(),
})
),
});