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

@@ -4,12 +4,22 @@ import prisma from "@/app/lib/prisma";
import { funGetUserIdByToken } from "@/app_modules/_global/fun/get";
import _ from "lodash";
type ICategoryapp =
| "Semua"
| "Event"
| "Job"
| "Voting"
| "Donasi"
| "Investasi"
| "Forum"
| "Collaboration";
export default async function notifikasi_getByUserId({
page,
kategoriApp,
}: {
page: number;
kategoriApp?: string;
kategoriApp?: ICategoryapp
}) {
console.log(page, "ini page");
console.log(kategoriApp, "ini kategori");