Skip to content

Commit

Permalink
fix: subdenom minimum len is 3 (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmorency authored Feb 7, 2025
1 parent 244c1e6 commit fd0c91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/factory/forms/CreateDenom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function CreateDenom({
const DenomSchema = Yup.object().shape({
subdenom: Yup.string()
.required('Subdenom is required')
.min(4, 'Subdenom must be at least 4 characters')
.min(3, 'Subdenom must be at least 3 characters')
.max(44, 'Subdenom must not exceed 44 characters')
.noProfanity('Profanity is not allowed')
.simulateDenomCreation(async () => {
Expand Down

0 comments on commit fd0c91b

Please sign in to comment.