Skip to content

Commit

Permalink
fix cv input validation
Browse files Browse the repository at this point in the history
relates #194
  • Loading branch information
alidah0 committed Jun 10, 2020
1 parent 88236db commit 1f3784f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ const GeneralInfos = ({ handleFormInput, formValues, errorMsg }) => {
onChange={handleFormInput}
isError={
errorMsg.includes('Insert Your Cv Link first') ||
errorMsg.includes('Enter correct url!')
errorMsg.includes('Enter a valid CV URL!')
}
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion client/src/utils/application/nLinearStepperValidation.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const generalInfosSchema = yup.object().shape({
cvLink: yup
.string()
.required(`Insert Your Cv Link first`)
.url('Enter a valid URL!')
.url('Enter a valid CV URL!')
.trim(),
});

Expand Down

0 comments on commit 1f3784f

Please sign in to comment.