From bf73691f954d498f745e4e7e87b746b9502d5ce9 Mon Sep 17 00:00:00 2001 From: Sophie Stadler Date: Thu, 25 Jan 2024 12:58:11 -0500 Subject: [PATCH] Update src/components/Banners/SlackNotificationBanner.tsx Co-authored-by: Mohamed Khelif --- src/components/Banners/SlackNotificationBanner.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Banners/SlackNotificationBanner.tsx b/src/components/Banners/SlackNotificationBanner.tsx index 2cc83704a0..3e92415060 100644 --- a/src/components/Banners/SlackNotificationBanner.tsx +++ b/src/components/Banners/SlackNotificationBanner.tsx @@ -82,10 +82,10 @@ export const SlackNotificationBanner = () => { !notifications && (isNotificationSet(patchFirstFailure) || isNotificationSet(patchFinish)); - const showSlackBanner = + const shouldShowSlackBanner = !defaultSlackUsername && !hasClosedBanner && !hasSetNotifications; - return showSlackBanner ? ( + return shouldShowSlackBanner ? (