Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
This commit is contained in:
Oliver Sand
2021-05-07 15:09:12 +02:00
parent 4d9a337a4a
commit 6f57e2df67
@@ -58,7 +58,7 @@ type SetQueryParams<T> = (params: T) => void;
export function useQueryParamState<T>(
stateName: string,
/** @depracated Don't configure a custom debouceTime */
/** @deprecated Don't configure a custom debouceTime */
debounceTime: number = 250,
): [T | undefined, SetQueryParams<T>] {
const [searchParams, setSearchParams] = useSearchParams();