Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 1dd39cd

Browse files
committedJul 24, 2020
Deal with warnings
1 parent 2398a57 commit 1dd39cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎client/src/components/FiltersSideMenu/filters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export default function SearchTabFilters({ locations, achievements }) {
3434
console.log("filters unmounted...");
3535
handleReset();
3636
};
37+
// eslint-disable-next-line react-hooks/exhaustive-deps
3738
}, []);
3839

3940
const handleReset = () => {
@@ -328,7 +329,6 @@ SearchTabFilters.propTypes = {
328329
};
329330

330331
function Summary({ filtersApplied, handleReset }) {
331-
const search = useSearch();
332332
return (
333333
<div className={styles.searchTabFiltersSummary}>
334334
<div className={styles.searchTabFiltersSummaryTextContainer}>

0 commit comments

Comments
 (0)
This repository has been archived.