Files
hipmi/src/app/dev/home/page.tsx
Bagasbanuna02 b9dc85fb1c # Voting Admin
## feat
- Tampilan kontributor
### No issuue
2024-02-19 17:53:06 +08:00

18 lines
520 B
TypeScript

import { HomeView } from "@/app_modules/home";
import { cookies } from "next/headers";
import { unsealData } from "iron-session";
import _ from "lodash";
import { User_getUserId } from "@/app_modules/fun_global/get_user_token";
import { User_getOneById } from "@/app_modules/home/fun/get/get_one_user_by_id";
export default async function Page() {
const userId = await User_getUserId();
const dataUser = await User_getOneById(userId);
return (
<>
<HomeView dataUser={dataUser as any} />
</>
);
}