From b7165c59901b7b4a88688be6eb5af6725dff7a2e Mon Sep 17 00:00:00 2001 From: amaliadwiy Date: Mon, 20 Apr 2026 17:45:19 +0800 Subject: [PATCH] hapus komen --- app/(application)/_layout.tsx | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/app/(application)/_layout.tsx b/app/(application)/_layout.tsx index 9f939c6..30f5cab 100644 --- a/app/(application)/_layout.tsx +++ b/app/(application)/_layout.tsx @@ -106,7 +106,7 @@ export default function RootLayout() { async function handleReadNotification(id: string, category: string, idContent: string, title: string) { try { - if (title != "Komentar Baru") { + if (title !== "Komentar Baru") { const hasil = await decryptToken(String(token?.current)) await apiReadOneNotification({ user: hasil, id: id }) } @@ -203,8 +203,6 @@ export default function RootLayout() { { router.back() }} />, headerTitle: 'Notifikasi', headerTitleAlign: 'center', header: () => ( @@ -213,10 +211,8 @@ export default function RootLayout() { }} /> { router.back() }} />, title: 'Pengaturan', headerTitleAlign: 'center', - // headerRight: () => header: () => ( { router.back() }} />, title: 'Anggota', headerTitleAlign: 'center', - // headerRight: () => header: () => ( { router.back() }} />, title: 'Diskusi Umum', headerTitleAlign: 'center', - // headerRight: () => header: () => ( { router.back() }} />, title: 'Kegiatan', headerTitleAlign: 'center', - // headerRight: () => header: () => ( { router.back() }} />, title: 'Divisi', headerTitleAlign: 'center', - // headerRight: () => header: () => ( { router.back() }} />, headerTitle: 'Lembaga Desa', headerTitleAlign: 'center', - // headerRight: () => header: () => ( { router.back() }} />, headerTitle: 'Jabatan', headerTitleAlign: 'center', - // headerRight: () => header: () => ( { router.back() }} />, headerTitle: 'Pengumuman', headerTitleAlign: 'center', - // headerRight: () => header: () => (