fix ( middleware )
deskripsi: - fix access api melalui middleware di: home, profile dan portofolio
This commit is contained in:
@@ -1,20 +1,8 @@
|
||||
import { ViewKatalogNew } from "@/app_modules/katalog";
|
||||
|
||||
export default async function Page({ params }: { params: { id: string } }) {
|
||||
// let profileId = params.id;
|
||||
// const userLoginId = await funGetUserIdByToken();
|
||||
|
||||
// const listPorto = await funGetListPortofolio(profileId);
|
||||
// const dataProfile = await Profile_getOneProfileAndUserById(profileId);
|
||||
|
||||
export default async function Page() {
|
||||
return (
|
||||
<>
|
||||
{/* <Katalog_MainView
|
||||
profile={dataProfile as any}
|
||||
listPorto={listPorto as any}
|
||||
userLoginId={userLoginId as any}
|
||||
/> */}
|
||||
|
||||
<ViewKatalogNew />
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user