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: () => (