Skip to content

Commit 52eee65

Browse files
committed
fix lint
1 parent 2e164a5 commit 52eee65

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Search/FilterDropdowns/MultiSelectPopup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function MultiSelectPopup<T extends string>({label, value, items, closeOverlay,
4444
keyForList: item.value,
4545
isSelected: !!selectedItems.find((i) => i.value === item.value),
4646
}));
47-
}, [items, selectedItems, translate]);
47+
}, [items, selectedItems]);
4848

4949
const updateSelectedItems = useCallback(
5050
(item: ListItem) => {

src/components/Search/SearchPageHeader/SearchFiltersBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ function SearchFiltersBar({queryJSON, headerButtonsOptions, isMobileSelectionMod
374374
{
375375
label: translate('common.status'),
376376
PopoverComponent: statusComponent,
377-
value: status.map((option) => option.translation ? translate(option.translation) : '').filter(Boolean),
377+
value: status.map((option) => option.text).filter(Boolean),
378378
filterKey: FILTER_KEYS.STATUS,
379379
},
380380
{

0 commit comments

Comments
 (0)