From eb876ae9a4b2dfc563e4a3012d12d90db385f562 Mon Sep 17 00:00:00 2001 From: mateusbra Date: Tue, 1 Feb 2022 18:09:15 -0300 Subject: [PATCH] aligned header --- src/components/Header.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Header.js b/src/components/Header.js index 060eb7c82a02..6fdcf113597f 100644 --- a/src/components/Header.js +++ b/src/components/Header.js @@ -29,7 +29,7 @@ const Header = props => ( {/* If there's no subtitle then display a fragment to avoid an empty space which moves the main title */} {_.isString(props.subtitle) - ? {props.subtitle} + ? Boolean(props.subtitle) && {props.subtitle} : props.subtitle} {props.shouldShowEnvironmentBadge && (