Skip to content

Commit

Permalink
fix: min chars description
Browse files Browse the repository at this point in the history
  • Loading branch information
fmorency committed Jan 7, 2025
1 parent 6d2a56a commit 5f303e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/groups/forms/groups/GroupDetailsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const GroupSchema = Yup.object()
),
description: Yup.string()
.required('Description is required')
.min(50, 'Description must be at least 50 characters')
.min(20, 'Description must be at least 20 characters')
.max(100, 'Description must not exceed 100 characters')
.noProfanity('Profanity is not allowed'),
})
Expand Down

0 comments on commit 5f303e5

Please sign in to comment.