From a492c1913bfa1f6f60716381b4e54010d48e1179 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Tue, 20 Dec 2022 15:02:17 +0000 Subject: [PATCH] fix: don't make site announcements clickable maybe we could do a blog in the future idk or care --- .../components/notifications/NotificationRow.tsx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/client/src/components/notifications/NotificationRow.tsx b/client/src/components/notifications/NotificationRow.tsx index d0122a97b..69e2a7ece 100644 --- a/client/src/components/notifications/NotificationRow.tsx +++ b/client/src/components/notifications/NotificationRow.tsx @@ -5,6 +5,8 @@ import { Link } from "react-router-dom"; import { NotificationDocument } from "tachi-common"; export default function NotificationRow({ notif }: { notif: NotificationDocument }) { + const url = NotifToURL(notif); + return (