From 3758941a59d85307562d5a6a49267bf974fbebc4 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Wed, 22 Jan 2025 15:36:35 -0500 Subject: [PATCH] refactor: notification footer Signed-off-by: Adam Setch --- .../notifications/NotificationFooter.tsx | 5 +- .../AccountNotifications.test.tsx.snap | 28 ++------ .../NotificationFooter.test.tsx.snap | 70 +++---------------- .../NotificationRow.test.tsx.snap | 42 ++--------- 4 files changed, 23 insertions(+), 122 deletions(-) diff --git a/src/renderer/components/notifications/NotificationFooter.tsx b/src/renderer/components/notifications/NotificationFooter.tsx index cfe54ddbc..445799075 100644 --- a/src/renderer/components/notifications/NotificationFooter.tsx +++ b/src/renderer/components/notifications/NotificationFooter.tsx @@ -53,8 +53,9 @@ export const NotificationFooter: FC = ({ )} - {reason.title} - + + {reason.title} + diff --git a/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap b/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap index 13710501e..57c103815 100644 --- a/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap +++ b/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap @@ -881,16 +881,11 @@ exports[`renderer/components/notifications/AccountNotifications.tsx should rende data-wrap="nowrap" > Updated - - • - Authored - - • - Updated - - • - Authored - - • - Updated - - • - Updated - - • - Updated - - • - Updated - - • - Updated - - • - Updated - - • - Updated - - • - Updated - - • - Updated - - • - Updated - - • - Updated - - • - Updated - - • - Updated - - • - Updated - - • - Updated - - • - Updated - - • -