From fb0a0fc7fd5634c222a777f3271a67cce13d2e49 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Mon, 18 Mar 2024 14:01:04 -0400 Subject: [PATCH] feat: add title to notification heading --- src/components/NotificationRow.tsx | 5 ++++- src/components/__snapshots__/NotificationRow.test.tsx.snap | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/NotificationRow.tsx b/src/components/NotificationRow.tsx index 8f884cef5..73c93e0ab 100644 --- a/src/components/NotificationRow.tsx +++ b/src/components/NotificationRow.tsx @@ -80,7 +80,10 @@ export const NotificationRow: React.FC = ({ onClick={() => pressTitle()} role="main" > -
+
{notification.subject.title}
diff --git a/src/components/__snapshots__/NotificationRow.test.tsx.snap b/src/components/__snapshots__/NotificationRow.test.tsx.snap index 3dfac90dc..262d67cab 100644 --- a/src/components/__snapshots__/NotificationRow.test.tsx.snap +++ b/src/components/__snapshots__/NotificationRow.test.tsx.snap @@ -42,6 +42,7 @@ exports[`components/Notification.js should render itself & its children 1`] = ` >
I am a robot and this is a test!