Fix notifikasi server action to API

This commit is contained in:
2024-12-19 06:34:12 +08:00
parent 6bb690e0b5
commit 2322ab8444
43 changed files with 507 additions and 1031 deletions

View File

@@ -1,19 +1,15 @@
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>