Skip to content

Commit

Permalink
Update useFilters.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
AshrafMd-1 authored Jan 16, 2024
1 parent 7b3e2f3 commit bfe681e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Common/hooks/useFilters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ export default function useFilters({
options?: setQueryParamsOptions
) => {
const updatedQParams = { ...query };

Check failure on line 40 in src/Common/hooks/useFilters.tsx

View workflow job for this annotation

GitHub Actions / lint

Delete `····`
for (const param of cacheBlacklist) {
delete updatedQParams[param];
}

Check failure on line 44 in src/Common/hooks/useFilters.tsx

View workflow job for this annotation

GitHub Actions / lint

Delete `····`
_setQueryParams(query, options);
updateFiltersCache(updatedQParams);
};
Expand Down

0 comments on commit bfe681e

Please sign in to comment.