From e9dcae00154c52bdb33b046aab0be2941b6874f5 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Mon, 29 Dec 2025 16:14:16 +0330 Subject: [PATCH] dark mode notif + new button remove --- src/app/[name]/(Dialogs)/layout.tsx | 2 +- src/app/[name]/(Dialogs)/notifications/page.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/[name]/(Dialogs)/layout.tsx b/src/app/[name]/(Dialogs)/layout.tsx index ef8c7b6..9954333 100644 --- a/src/app/[name]/(Dialogs)/layout.tsx +++ b/src/app/[name]/(Dialogs)/layout.tsx @@ -12,7 +12,7 @@ function DialogsLayout({ children }: { children: React.ReactNode }) { return (
0 ? (
- notification + notification
) : null } {notifications.map((notification: Notification) => { - const isNew = !notification.sentAt; + // const isNew = !notification.sentAt; const formattedDate = formatDate(notification.createdAt); const formattedTime = formatTime(notification.createdAt); @@ -116,11 +116,11 @@ export default function NotificationsIndex({ }: Props) {
- {isNew && ( + {/* {isNew && ( {t('Tags.New')} - )} + )} */} {ef(formattedDate)}