fix layout notifikasi

This commit is contained in:
2025-03-18 13:56:01 +08:00
parent d5d17f2b75
commit 3b9ce47767
2 changed files with 19 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
import { UIGlobal_LayoutHeaderTamplate } from "@/app_modules/_global/ui";
import { Notifikasi_UiNewLayout } from "@/app_modules/notifikasi/_ui";
import { Component_Header } from "@/app_modules/_global/component/new/component_header";
import UI_NewLayoutTamplate, { UI_NewChildren, UI_NewHeader } from "@/app_modules/_global/ui/V2_layout_tamplate";
import { UIChildrenNotifikasi } from "@/app_modules/notifikasi/_ui/ui_new_layout_notifikasi";
export default async function Layout({
children,
@@ -8,11 +9,22 @@ export default async function Layout({
}) {
return (
<>
<Notifikasi_UiNewLayout
{/* <Notifikasi_UiNewLayout
header={<UIGlobal_LayoutHeaderTamplate title="Notifikasi" />}
>
{children}
</Notifikasi_UiNewLayout>
</Notifikasi_UiNewLayout> */}
<UI_NewLayoutTamplate>
<UI_NewHeader>
<Component_Header title="Notifikasi" />
</UI_NewHeader>
<UI_NewChildren>
<UIChildrenNotifikasi>
{children}
</UIChildrenNotifikasi>
</UI_NewChildren>
</UI_NewLayoutTamplate>
</>
);
}