Skip to content

Commit

Permalink
Update indentation to fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
ani-kalpachka committed Jul 21, 2024
1 parent 9e2c028 commit a89c06a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/admin/documents/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ const validationSchema = yup
.object()
.defined()
.shape({
type: yup.string().oneOf(validDocumentTypes, `Видът трябва да бъде една от следните стойности: ${validDocumentTypes.join(', ')}.`).required(),
type: yup
.string()
.oneOf(
validDocumentTypes,
`Видът трябва да бъде една от следните стойности: ${validDocumentTypes.join(', ')}.`,
)
.required(),
name: yup.string().trim().min(2).max(20).required(),
filename: yup.string().trim().min(2).max(20).required(),
filetype: yup.string().trim().max(3),
Expand Down

0 comments on commit a89c06a

Please sign in to comment.