Deskripsi:
- Upload ke stroage untuk job
## Np Issuee
This commit is contained in:
2024-09-19 15:59:21 +08:00
parent 128dc98839
commit f96d80d55d
153 changed files with 1369 additions and 1200 deletions

View File

@@ -1,7 +1,6 @@
import { CheckCookies_UiView } from "@/app_modules/check_cookies";
import { funGetUserIdByToken } from "@/app_modules/_global/fun/get";
import { LayoutDonasi } from "@/app_modules/donasi";
import { Donasi_getNotifByUserId } from "@/app_modules/donasi/fun/get/get_notif_by_user_id";
import { user_funGetOneUserId } from "@/app_modules/fun_global/get_user_token";
import React from "react";
export default async function Layout({
@@ -9,8 +8,7 @@ export default async function Layout({
}: {
children: React.ReactNode;
}) {
const userLoginId = await user_funGetOneUserId();
if (!userLoginId) return <CheckCookies_UiView />;
const userLoginId = await funGetUserIdByToken();
const isRead = await Donasi_getNotifByUserId(userLoginId).then((res: any) =>
res.map((val: any) => val.isRead)