15 lines
482 B
TypeScript
15 lines
482 B
TypeScript
import { funGetUserIdByToken } from "@/app_modules/_global/fun/get";
|
|
import { Colab_Beranda } from "@/app_modules/colab";
|
|
import colab_getListAllProyek from "@/app_modules/colab/fun/get/get_list_all_proyek";
|
|
|
|
export default async function Page() {
|
|
const listData = await colab_getListAllProyek({ page: 1 });
|
|
const userLoginId = await funGetUserIdByToken();
|
|
|
|
return (
|
|
<>
|
|
<Colab_Beranda listData={listData as any} userLoginId={userLoginId as string} />
|
|
</>
|
|
);
|
|
}
|