Skip to content

Commit 220e9fe

Browse files
authored
refactor: notification footer (#1753)
Signed-off-by: Adam Setch <[email protected]>
1 parent 699564b commit 220e9fe

File tree

4 files changed

+23
-122
lines changed

4 files changed

+23
-122
lines changed

src/renderer/components/notifications/NotificationFooter.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ export const NotificationFooter: FC<INotificationFooter> = ({
5353
)}
5454

5555
<Stack direction="horizontal" gap="none">
56-
<Text title={reason.description}>{reason.title}</Text>
57-
<Text className="px-1">&bull;</Text>
56+
<Text title={reason.description} className="pr-1">
57+
{reason.title}
58+
</Text>
5859
<RelativeTime datetime={notification.updated_at} />
5960
</Stack>
6061

src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap

Lines changed: 4 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/components/notifications/__snapshots__/NotificationFooter.test.tsx.snap

Lines changed: 10 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/components/notifications/__snapshots__/NotificationRow.test.tsx.snap

Lines changed: 6 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)