Skip to content

Commit c8fbe1e

Browse files
committed
chore(ui): linting
1 parent de60ee6 commit c8fbe1e

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

ui/src/components/notifications/NotificationCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ export const NotificationCard = memo(function NotificationCard({
3030
return (
3131
<Card
3232
className={cn(
33-
"cursor-pointer transition-all hover:bg-accent/50",
34-
!notification.read ? "border-l-8 bg-accent/30" : "border-l-4",
33+
"cursor-pointer transition-colors hover:bg-accent/50 border-l-4",
3534
borderColor,
35+
!notification.read && "bg-accent/20",
3636
)}
3737
onClick={handleClick}
3838
>

ui/src/components/notifications/NotificationHeader.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,12 @@ export const NotificationHeader = memo(function NotificationHeader({
3535
return (
3636
<div className="flex items-start justify-between gap-3">
3737
<div className="flex items-center gap-2 min-w-0">
38-
<h3 className={cn(
39-
"text-lg truncate transition-all",
40-
!read ? "font-bold" : "font-semibold"
41-
)}>
38+
<h3
39+
className={cn(
40+
"text-lg truncate transition-all",
41+
!read ? "font-bold" : "font-semibold",
42+
)}
43+
>
4244
{title}
4345
</h3>
4446
</div>

0 commit comments

Comments
 (0)