mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-26 18:04:45 +10:00
Merge pull request #442 from AmruthPillai/issue-441
Fix #441: Make Skill Level Optional
This commit is contained in:
@@ -17,7 +17,7 @@ const SkillModal = () => {
|
|||||||
|
|
||||||
const schema = Yup.object().shape({
|
const schema = Yup.object().shape({
|
||||||
name: Yup.string().required(t('shared.forms.validation.required')),
|
name: Yup.string().required(t('shared.forms.validation.required')),
|
||||||
level: Yup.string().required(t('shared.forms.validation.required')),
|
level: Yup.string(),
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user