notifications
This commit is contained in:
parent
c00459e1f8
commit
c7c20eda14
@ -170,7 +170,7 @@ export const NotificationBadge = memo(function NotificationBadge({ className }:
|
||||
<div className="w-full">
|
||||
<div className="flex items-start justify-between">
|
||||
<div className="max-w-[90%]">
|
||||
<p className="text-sm font-medium">
|
||||
<div className="text-sm font-medium">
|
||||
{notification.title}
|
||||
{!notification.isRead && (
|
||||
<Badge variant="secondary" className="ml-2 bg-blue-500 text-white">New</Badge>
|
||||
@ -181,7 +181,7 @@ export const NotificationBadge = memo(function NotificationBadge({ className }:
|
||||
Agilité
|
||||
</Badge>
|
||||
)}
|
||||
</p>
|
||||
</div>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
{formatDistanceToNow(new Date(notification.timestamp), { addSuffix: true })}
|
||||
{notification.source && (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user