chore: reformat code
This commit is contained in:
parent
3d930aa73b
commit
aedabcbdee
509 changed files with 6030 additions and 4266 deletions
|
|
@ -12,25 +12,25 @@ export default {
|
|||
{
|
||||
code: 'accountSid',
|
||||
display: 'Account SID',
|
||||
component: TextInputFormik
|
||||
component: TextInputFormik,
|
||||
},
|
||||
{
|
||||
code: 'authToken',
|
||||
display: 'Auth token',
|
||||
component: SecretInputFormik
|
||||
component: SecretInputFormik,
|
||||
},
|
||||
{
|
||||
code: 'fromNumber',
|
||||
display: 'Twilio number (international format)',
|
||||
component: TextInputFormik,
|
||||
face: true
|
||||
face: true,
|
||||
},
|
||||
{
|
||||
code: 'toNumber',
|
||||
display: 'Notifications number (international format)',
|
||||
component: TextInputFormik,
|
||||
face: true
|
||||
}
|
||||
face: true,
|
||||
},
|
||||
],
|
||||
getValidationSchema: account => {
|
||||
return Yup.object().shape({
|
||||
|
|
@ -45,7 +45,7 @@ export default {
|
|||
.required('The Twilio number is required'),
|
||||
toNumber: Yup.string('The notifications number must be a string')
|
||||
.max(100, 'The notifications number is too long')
|
||||
.required('The notifications number is required')
|
||||
.required('The notifications number is required'),
|
||||
})
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue