forked from Github/frigate
Improve navigation (#13833)
* Fix infinite loop * Fix review page not opening to historical review items * Use query arg for search and remove unused recording opening * Retain query * Clean up typing
This commit is contained in:
@@ -125,7 +125,7 @@ export function useSearchEffect(
|
||||
const remove = callback(param[1]);
|
||||
|
||||
if (remove) {
|
||||
setSearchParams();
|
||||
setSearchParams(undefined, { replace: true });
|
||||
}
|
||||
}, [param, callback, setSearchParams]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user