We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67a7e68 commit 93a95f1Copy full SHA for 93a95f1
src/hooks/use-filter-query.tsx
@@ -33,7 +33,7 @@ export const useFilterQuery = <T extends object>({
33
const updateFiltersInQuery: UpdateFiltersInQuery<T> = useCallback(
34
(valuesToUpdate) => {
35
for (const key in valuesToUpdate) {
36
- const value = valuesToUpdate[key]!
+ const value = valuesToUpdate[key]
37
38
if (value) {
39
searchParams.set(String(key), String(value))
0 commit comments