mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 06:37:18 +01:00
Fixed types.
This commit is contained in:
parent
8775d696b8
commit
a78d11e352
5 changed files with 74 additions and 64 deletions
|
|
@ -17,7 +17,7 @@ export function useNavigation() {
|
|||
return obj;
|
||||
}, [params]);
|
||||
|
||||
function makeUrl(params, reset) {
|
||||
function makeUrl(params: any, reset?: boolean) {
|
||||
return reset ? pathname : buildUrl(pathname, { ...query, ...params });
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue