Skip to content

Commit

Permalink
fix: match values
Browse files Browse the repository at this point in the history
  • Loading branch information
g-saracca committed Feb 7, 2025
1 parent f11044d commit 3b83fb3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ export const TopFieldsSection = ({ isEditingRootCollection }: TopFieldsSectionPr
required: t('fields.name.required'),
maxLength: {
value: 120,
message: t('fields.name.invalid.maxLength', { maxLength: 60 })
message: t('fields.name.invalid.maxLength', { maxLength: 120 })
}
}

const affiliationRules: UseControllerProps['rules'] = {
maxLength: {
value: 120,
message: t('fields.affiliation.invalid.maxLength', { maxLength: 100 })
message: t('fields.affiliation.invalid.maxLength', { maxLength: 120 })
}
}

Expand Down

0 comments on commit 3b83fb3

Please sign in to comment.