import { funGetUserIdByToken } from "@/app_modules/_global/fun/get";
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";

export default async function Page() {
  const userLoginId = await funGetUserIdByToken();

  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 (
    <>maintenace</>
    // <Event_StatusPage
    //   authorId={userLoginId}
    //   listPublish={listPublish}
    //   listReview={listReview}
    //   listDraft={listDraft}
    //   listReject={listReject}
    // />
  );
}
