From 6c27d8b2bfb9523a989e3f0575a4ba5baa28e23a Mon Sep 17 00:00:00 2001 From: SD Date: Wed, 27 Mar 2024 19:29:09 +0400 Subject: [PATCH] fix: fix filter --- src/components/Experts/Filter.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Experts/Filter.tsx b/src/components/Experts/Filter.tsx index 4dc9cc5..5b68010 100644 --- a/src/components/Experts/Filter.tsx +++ b/src/components/Experts/Filter.tsx @@ -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)) {