Skip to content

Commit

Permalink
fixed eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
YaroslavChuiko committed Jul 29, 2024
1 parent 67a7e68 commit 93a95f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/use-filter-query.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const useFilterQuery = <T extends object>({
const updateFiltersInQuery: UpdateFiltersInQuery<T> = useCallback(
(valuesToUpdate) => {
for (const key in valuesToUpdate) {
const value = valuesToUpdate[key]!
const value = valuesToUpdate[key]

if (value) {
searchParams.set(String(key), String(value))
Expand Down

0 comments on commit 93a95f1

Please sign in to comment.