From 5017b61540256760be53a416fa499342e1d131df Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Sun, 11 Aug 2024 10:13:38 -0400 Subject: [PATCH 1/3] fix: only show notification count when logged in Signed-off-by: Adam Setch --- src/components/Sidebar.tsx | 2 +- src/components/__snapshots__/Sidebar.test.tsx.snap | 12 ++++-------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index b9f8f1564..6391d205f 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -86,7 +86,7 @@ export const Sidebar: FC = () => { openGitHubNotifications(primaryAccountHostname)} /> diff --git a/src/components/__snapshots__/Sidebar.test.tsx.snap b/src/components/__snapshots__/Sidebar.test.tsx.snap index cb734fe1f..a6f5dcf52 100644 --- a/src/components/__snapshots__/Sidebar.test.tsx.snap +++ b/src/components/__snapshots__/Sidebar.test.tsx.snap @@ -63,7 +63,7 @@ exports[`components/Sidebar.tsx should render itself & its children (logged in)