Fix: Notifikasi

Deskripsi:
- Fix tampilan & route norifkasi
- Pengambilan data diatur per notifikasi agar lebih cepat
This commit is contained in:
2024-11-13 12:04:45 +08:00
parent 1b58ba7d90
commit 82f5b237ae
30 changed files with 941 additions and 62 deletions

View File

@@ -0,0 +1,22 @@
import { UIGlobal_LayoutHeaderTamplate } from "@/app_modules/_global/ui";
import { Notifikasi_UiNewLayout } from "@/app_modules/notifikasi/_ui";
import { notifikasi_funGetKategoriApp } from "@/app_modules/notifikasi/fun/get/fun_get_kategori_app";
export default async function Layout({
children,
}: {
children: React.ReactNode;
}) {
const masterKategori = await notifikasi_funGetKategoriApp();
return (
<>
<Notifikasi_UiNewLayout
header={<UIGlobal_LayoutHeaderTamplate title="Notifikasi" />}
masterKategori={masterKategori}
>
{children}
</Notifikasi_UiNewLayout>
</>
);
}