Skip to content

Commit

Permalink
fix: subdenom minimum len is 3
Browse files Browse the repository at this point in the history
  • Loading branch information
fmorency committed Feb 6, 2025
1 parent 08d861f commit d797d23
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 d797d23

Please sign in to comment.