From e2b2f303e75a4b95822dcd7be30c5a0e709bbade Mon Sep 17 00:00:00 2001 From: Tiago Yamamoto Date: Mon, 16 Feb 2026 09:24:15 -0600 Subject: [PATCH] fix: replace readAt with read in notifications-dropdown Align with Notification interface that uses 'read' boolean field --- frontend/src/components/notifications-dropdown.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/notifications-dropdown.tsx b/frontend/src/components/notifications-dropdown.tsx index 38e0d3b..4b9aa86 100644 --- a/frontend/src/components/notifications-dropdown.tsx +++ b/frontend/src/components/notifications-dropdown.tsx @@ -71,7 +71,7 @@ export function NotificationsDropdown() { key={notification.id} className={cn( "flex flex-col gap-1 p-3 rounded-md hover:bg-muted/50 cursor-pointer transition-colors relative", - !notification.readAt && "bg-muted/20" + !notification.read && "bg-muted/20" )} onClick={() => markAsRead(notification.id)} > @@ -80,7 +80,7 @@ export function NotificationsDropdown() { {getIcon(notification.type)}
-

+

{notification.title}

@@ -90,7 +90,7 @@ export function NotificationsDropdown() { {new Date(notification.createdAt).toLocaleDateString()}

- {!notification.readAt && ( + {!notification.read && (
)}