Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneOne1 committed Dec 6, 2022
1 parent 6d1adf7 commit b9d8d70
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions client/src/helpers/validators.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ export const validateNotInRange = (value, allValues) => {
});
}

if (!range_end && isAboveMin) {
return 'lower_range_start_error';
}
// if (!range_end && isAboveMin) {
// return 'lower_range_start_error';
// }

if (!range_start && isBelowMax) {
return 'greater_range_end_error';
}
// if (!range_start && isBelowMax) {
// return 'greater_range_end_error';
// }

return undefined;
};
Expand Down

0 comments on commit b9d8d70

Please sign in to comment.