Skip to content

Commit

Permalink
refactor(occurenceForm): set min for operators
Browse files Browse the repository at this point in the history
  • Loading branch information
pl-buiquang committed Jul 7, 2023
1 parent 299f2a3 commit 6d325dc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const defaultOccurrencesNumberInputs = {

const getMinForComparatorType = (comparator: string) => {
console.log(comparator)
if (comparator === '<') return 2
return 1
if (comparator === '<') return 1
return 0
}

type OccurrencesNumberInputsProps = {
Expand Down

0 comments on commit 6d325dc

Please sign in to comment.