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 ? (