Fixed types.
This commit is contained in:
1 parent
8775d696b8
commit
a78d11e352
5 files changed
+74
-64
No files matched your search
@@ -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 });
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user