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)}