diff --git a/frontend/app/components/shared/SessionSearch/SessionSearch.tsx b/frontend/app/components/shared/SessionSearch/SessionSearch.tsx index 6d14b699f..e617ec9cb 100644 --- a/frontend/app/components/shared/SessionSearch/SessionSearch.tsx +++ b/frontend/app/components/shared/SessionSearch/SessionSearch.tsx @@ -25,7 +25,7 @@ function SessionSearch(props: Props) { const hasEvents = appliedFilter.filters.filter((i: any) => i.isEvent).size > 0; const hasFilters = appliedFilter.filters.filter((i: any) => !i.isEvent).size > 0; - useSessionSearchQueryHandler({ appliedFilter, applyFilter: props.fetchSessions, loading: metaLoading }); + useSessionSearchQueryHandler({ appliedFilter, applyFilter: props.updateFilter, loading: metaLoading }); useEffect(() => { debounceFetch = debounce(() => props.fetchSessions(), 500);