fix: fix filter

This commit is contained in:
SD 2024-03-27 19:29:09 +04:00
parent ef859f52d0
commit 6c27d8b2bf
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ export const ExpertsFilter = ({
setFilteredTags(tags);
}, [searchData?.themesGroups]);
const onChangeFilterArr = useCallback((field: string, id: number | string, checked: boolean) => {
const onChangeFilterArr = useCallback((field: any, id: number | string, checked: boolean) => {
let arr = (filter && filter[field]) || [];
if (checked && !arr?.includes(id)) {