From efe9f8703f722e0ba282f2243dabd9823b5cbb6b Mon Sep 17 00:00:00 2001
From: Ole-Martin Bratteng <1681525+omBratteng@users.noreply.github.com>
Date: Wed, 21 Jan 2026 10:56:57 +0100
Subject: [PATCH] fix: only render notification link of it has targetUrl
---
.../shared/src/components/notifications/NotificationItem.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/shared/src/components/notifications/NotificationItem.tsx b/packages/shared/src/components/notifications/NotificationItem.tsx
index 6fc7bb015d..23d6af3c00 100644
--- a/packages/shared/src/components/notifications/NotificationItem.tsx
+++ b/packages/shared/src/components/notifications/NotificationItem.tsx
@@ -214,7 +214,7 @@ function NotificationItem(props: NotificationItemProps): ReactElement {
isUnread && 'bg-surface-float',
)}
>
- {renderLink && (
+ {renderLink && targetUrl && (