diff --git a/CHANGELOG.md b/CHANGELOG.md index 89557c4a..8fff397f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,12 @@ See also the [v0.107.59 GitHub milestone][ms-v0.107.59]. NOTE: Add new changes BELOW THIS COMMENT. --> +### Fixed + +- The search form not working in the query log ([#7704]). + +[#7704]: https://github.com/AdguardTeam/AdGuardHome/issues/7704 + diff --git a/client/src/components/Logs/Filters/Form.tsx b/client/src/components/Logs/Filters/Form.tsx index e1119920..98ff98f4 100644 --- a/client/src/components/Logs/Filters/Form.tsx +++ b/client/src/components/Logs/Filters/Form.tsx @@ -62,7 +62,7 @@ export const Form = ({ className, setIsLoading }: Props) => { if (searchUrlParam !== searchValue) { setValue('search', searchUrlParam ? searchUrlParam.toString() : ''); } - }, [history.location.search, setValue, searchValue]); + }, [history.location.search]); const onInputClear = async () => { setIsLoading(true);