Desc:
- Perubahan minor
Issue: Di server master bidang bisnis tidak terpanggil
This commit is contained in:
2023-10-17 11:38:05 +08:00
parent 3200ca6d66
commit 7035139733
15 changed files with 208 additions and 27 deletions

View File

@@ -0,0 +1,9 @@
import { PortofolioLayout } from "@/app_modules/katalog/portofolio";
export default async function Layout({ children }: { children: any }) {
return (
<>
<PortofolioLayout>{children}</PortofolioLayout>
</>
);
}

View File

@@ -0,0 +1,15 @@
import { ViewPortofolio } from "@/app_modules/katalog/portofolio";
import { getOnePortofolio } from "@/app_modules/katalog/portofolio/fun/get_one_portofolio";
export default async function Page({params}: {params: {id: string}}) {
const getPorto = await getOnePortofolio(params.id)
// console.log(getPorto)
return (
<>
{/* {JSON.stringify(getPorto)} */}
<ViewPortofolio dataPorto={getPorto as any} />
</>
);
}