diff --git a/src/hooks/use-filter-query.tsx b/src/hooks/use-filter-query.tsx index c6f7d9374b..f88dea78ff 100644 --- a/src/hooks/use-filter-query.tsx +++ b/src/hooks/use-filter-query.tsx @@ -33,7 +33,7 @@ export const useFilterQuery = ({ const updateFiltersInQuery: UpdateFiltersInQuery = useCallback( (valuesToUpdate) => { for (const key in valuesToUpdate) { - const value = valuesToUpdate[key]! + const value = valuesToUpdate[key] if (value) { searchParams.set(String(key), String(value))