Fixed types.

This commit is contained in:
Mike Cao committed 2023-11-13 21:58:23 -08:00
1 parent 8775d696b8
commit a78d11e352
5 files changed
+74 -64

No files matched your search

+1 -1
View File
@@ -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 });
}