Skip to content

Commit d764014

Browse files
authored
fix(ui/dashboard): experiment filter opens drawer add new (#2140)
1 parent 6506540 commit d764014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/dashboard/src/utils/search-params.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export function useSearchParams() {
1010

1111
const searchOptions = useMemo<SearchParams>((): SearchParams => {
1212
return queryString.parse(location.search);
13-
}, [location]);
13+
}, [location.search, location.pathname]);
1414

1515
const onChangSearchParams = useCallback(
1616
(

0 commit comments

Comments
 (0)