Skip to content

Commit 4479d74

Browse files
committed
fix wrong key
1 parent 74e2abc commit 4479d74

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Search/SearchPageHeader/useSearchFiltersBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ function useSearchFiltersBar(queryJSON: SearchQueryJSON): UseSearchFiltersBarRes
152152
onClosePress: () => {
153153
if (isAmountFilterKey(filterKey)) {
154154
const equalToKey = `${filterKey}${CONST.SEARCH.AMOUNT_MODIFIERS.EQUAL_TO}`;
155-
const greaterThanKey = `${filterKey}${CONST.SEARCH.AMOUNT_MODIFIERS.EQUAL_TO}`;
156-
const lessThanKey = `${filterKey}${CONST.SEARCH.AMOUNT_MODIFIERS.EQUAL_TO}`;
155+
const greaterThanKey = `${filterKey}${CONST.SEARCH.AMOUNT_MODIFIERS.GREATER_THAN}`;
156+
const lessThanKey = `${filterKey}${CONST.SEARCH.AMOUNT_MODIFIERS.LESS_THAN}`;
157157
updateFilterForm({[equalToKey]: undefined, [greaterThanKey]: undefined, [lessThanKey]: undefined});
158158
return;
159159
}

0 commit comments

Comments
 (0)