Solved some problems with the excel of master statistical

This commit is contained in:
Tiago Ribeiro
2024-09-10 12:00:14 +01:00
parent 33a46c227b
commit 2a10933206
8 changed files with 448 additions and 522 deletions

View File

@@ -23,8 +23,6 @@ export default function useUsers(props?: {type?: string; page?: number; size?: n
if (props[key as keyof typeof props] !== undefined) params.append(key, props[key as keyof typeof props]!.toString());
});
console.log(params.toString());
setIsLoading(true);
axios
.get<{users: User[]; total: number}>(`/api/users/list?${params.toString()}`, {headers: {page: "register"}})