fix: dependecies is updated (#2510)

This commit is contained in:
Palash Gupta 2023-03-29 18:55:30 +05:30 committed by GitHub
parent 3f96325ad8
commit c1d00c1155
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,9 +62,7 @@ export function useSearchParser(): {
});
}
},
// need to hide this warning as we don't want to update the query string on every change
// eslint-disable-next-line react-hooks/exhaustive-deps
[dispatch, parsedQuery],
[dispatch, maxTime, minTime, parsedQuery, selectedTime],
);
useEffect(() => {