Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza committed Jul 6, 2024
1 parent 6411715 commit 695cbaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Filter/Filter.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function changeField(schema, currentClassName, filters, index, newField) {
return filters.set(index, newFilter);
}

function changeConstraint(schema, currentClassName, filters, index, newConstraint, prevCompareTo) {
function changeConstraint(schema, currentClassName, filters, index, newConstraint) {
const field = filters.get(index).get('field');
let compareType = schema[currentClassName][field].type;
if (Object.prototype.hasOwnProperty.call(Filters.Constraints[newConstraint], 'field')) {
Expand Down

0 comments on commit 695cbaf

Please sign in to comment.