Fix
## Deskripsi: - Cek notif ## No Issue
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { Admin_KonfirmasiInvestasi } from "@/app_modules/admin/investasi";
|
||||
import { funGetUserProfile } from "@/app_modules/fun_global/get_user_profile";
|
||||
import getOneInvestasiById from "@/app_modules/investasi/fun/get_one_investasi_by_id";
|
||||
|
||||
export default async function Page({ params }: { params: { id: string } }) {
|
||||
|
||||
@@ -1,8 +1,14 @@
|
||||
import { LayoutMainInvestasi } from "@/app_modules/investasi";
|
||||
import { Investasi_UiLayoutMain } from "@/app_modules/investasi/_ui";
|
||||
import React from "react";
|
||||
|
||||
export default async function Layout({children}: {children: React.ReactNode}) {
|
||||
return <>
|
||||
<LayoutMainInvestasi>{children}</LayoutMainInvestasi>
|
||||
export default async function Layout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<Investasi_UiLayoutMain>{children}</Investasi_UiLayoutMain>
|
||||
</>
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { MainInvestasi } from "@/app_modules/investasi";
|
||||
import { Investasi_UiBeranda } from "@/app_modules/investasi/_ui";
|
||||
import { investasi_funGetAllPublish } from "@/app_modules/investasi/fun/get_all_investasi";
|
||||
|
||||
export default async function Page() {
|
||||
const allData = await investasi_funGetAllPublish();
|
||||
const allData = await investasi_funGetAllPublish({ page: 1 });
|
||||
|
||||
return (
|
||||
<>
|
||||
<MainInvestasi listData={allData as any} />
|
||||
<Investasi_UiBeranda dataInvestasi={allData as any} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user