Files
hipmi/src/app/dev/portofolio/main/[id]/layout.tsx
amel 3cb5416cfb upd: portofolio detail
Deskripsi:
- update api detail portofolio
- delete api portofolio

No Issues
2024-12-06 21:33:24 +08:00

21 lines
626 B
TypeScript

import { PortofolioLayoutNew } from "@/app_modules/katalog/portofolio";
export default async function Layout({ children, params, }: { children: any; params: { id: string }; }) {
// let portoId = params.id;
// const getPorto = await portofolio_getOneById(portoId);
// const userLoginId = await funGetUserIdByToken();
return (
<>
{/* <PortofolioLayout
portoId={portoId}
userLoginId={userLoginId as string}
authorId={getPorto?.Profile?.User?.id as any}
>
{children}
</PortofolioLayout> */}
<PortofolioLayoutNew>{children}</PortofolioLayoutNew>
</>
);
}