mirror of
https://github.com/umami-software/umami.git
synced 2026-02-05 13:17:19 +01:00
Fixed UTM query. Fixed types.
This commit is contained in:
parent
b3cad83f08
commit
b873ea38ea
5 changed files with 47 additions and 19 deletions
|
|
@ -7,7 +7,7 @@ export function useFilterQuery<T = any>({
|
|||
queryKey,
|
||||
queryFn,
|
||||
...options
|
||||
}: UseQueryOptions): FilterQueryResult<T> {
|
||||
}: Omit<UseQueryOptions, 'queryFn'> & { queryFn: (params?: object) => any }): FilterQueryResult<T> {
|
||||
const [params, setParams] = useState<T | SearchFilter>({
|
||||
query: '',
|
||||
page: 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue