Skip to content

Commit

Permalink
Use correct translation
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon committed Nov 15, 2024
1 parent e3d7ca9 commit 2cdf6a2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export const MultiChoice = ({ index, question }: QuestionProps) => {
if (v && v.length >= minChoices && v.length <= election.voteType.maxCount) {
return true
}
if (minChoices === 1) return localize('validation.at_least_one')
return localize('validation.min_choices_count', { count: minChoices })
}

Expand Down

0 comments on commit 2cdf6a2

Please sign in to comment.