Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
av-mads committed Mar 13, 2024
1 parent 37c4d8a commit ada960c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/validators/selectionPileValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class SelectionPileValidator {
private exceededListVotes(choices: OptionSelection[]) {
const options = this.recursiveFlattener(this.contest.options as OptionContent[]);

const optionsWithListLimit = options.map((op) => !!op?.maxChooseableSuboptions ? op : null)
const optionsWithListLimit = options.map((op) => op?.maxChooseableSuboptions ? op : null)

let exceeded = false

Expand Down

0 comments on commit ada960c

Please sign in to comment.