feat: error handling on forms

This commit is contained in:
Taranto 2020-10-26 19:48:53 +00:00 committed by Josh Harvey
parent a6bb503b95
commit 7d5d963685
20 changed files with 119 additions and 71 deletions

View file

@ -81,7 +81,7 @@ const initialValues = {
const validationSchema = Yup.object().shape({
name: Yup.string()
.required()
.max(50, 'Too long')
.max(50)
})
const MachineNameComponent = ({ nextStep, classes, setQrCode, setName }) => {