Files
hipmi/src/app/dev/event/main/status_page/page.tsx
Bagasbanuna02 3b7e9977f6 fix:
Deksripsi:
- Progress investasi
- Tampilan voting
## No issue
2024-09-10 12:12:31 +08:00

25 lines
1.0 KiB
TypeScript

import { Event_StatusPage } from "@/app_modules/event";
import { event_getAllDraft } from "@/app_modules/event/fun/get/status/get_all_draft";
import { event_getAllReject } from "@/app_modules/event/fun/get/status/get_all_reject";
import { event_getAllReview } from "@/app_modules/event/fun/get/status/get_all_review";
import { event_funGetAllStatusPublish } from "@/app_modules/event/fun/get/status/get_all_status_publish";
import { user_funGetOneUserId } from "@/app_modules/fun_global/get_user_token";
export default async function Page() {
const authorId = await user_funGetOneUserId();
const listPublish = await event_funGetAllStatusPublish({ page: 1 });
const listReview = await event_getAllReview({ page: 1 });
const listDraft = await event_getAllDraft({ page: 1 });
const listReject = await event_getAllReject({ page: 1 });
return (
<Event_StatusPage
authorId={authorId}
listPublish={listPublish}
listReview={listReview}
listDraft={listDraft}
listReject={listReject}
/>
);
}