16 lines
661 B
TypeScript
16 lines
661 B
TypeScript
import AdminDeveloper from "@/app_modules/admin/developer";
|
|
import adminDeveloper_funGetListAllAdmin from "@/app_modules/admin/developer/fun/get/fun_get_list_all_admin";
|
|
import adminDeveloper_funGetListAllUser from "@/app_modules/admin/developer/fun/get/fun_get_list_all_user";
|
|
import _ from "lodash";
|
|
|
|
export default async function Page() {
|
|
const listUser = await adminDeveloper_funGetListAllUser({ page: 1 });
|
|
const listAdmin = await adminDeveloper_funGetListAllAdmin({ page: 1 });
|
|
|
|
return (
|
|
<>
|
|
<AdminDeveloper listUser={listUser.data as any} pUser={listUser.nPage} listAdmin={listAdmin.data as any} pAdmin={listAdmin.nPage} />
|
|
</>
|
|
);
|
|
}
|