diff options
Diffstat (limited to 'src/lib/ServiceFilters.tsx')
-rw-r--r-- | src/lib/ServiceFilters.tsx | 2 |
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"> |