summaryrefslogtreecommitdiff
path: root/src/lib/ServiceFilters.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ServiceFilters.tsx')
-rw-r--r--src/lib/ServiceFilters.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ServiceFilters.tsx b/src/lib/ServiceFilters.tsx
index b3cfae9..a2c645b 100644
--- a/src/lib/ServiceFilters.tsx
+++ b/src/lib/ServiceFilters.tsx
@@ -44,7 +44,7 @@ const ServiceFilters: React.FC = () => {
setQuery(updatedQuery);
};
- const resetFilters = () => history.push(service.route);
+ const resetFilters = () => setQuery({});
return (
<div className="mr-6 flex items-center">