From bee715b8f9791b1fe72c9082a4e0c9fa71671e70 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Thu, 2 Jul 2020 20:51:49 +0200 Subject: [PATCH] Remove log message and fix null check Signed-off-by: Tilman Vatteroth --- src/components/common/branding/branding.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/common/branding/branding.tsx b/src/components/common/branding/branding.tsx index b31289e07..5f8de4fe9 100644 --- a/src/components/common/branding/branding.tsx +++ b/src/components/common/branding/branding.tsx @@ -10,9 +10,7 @@ export interface BrandingProps { export const Branding: React.FC = ({ inline = false }) => { const branding = useSelector((state: ApplicationState) => state.backendConfig.branding) - const showBranding = branding.name !== '' || branding.logo !== '' - - console.log(branding.logo) + const showBranding = !!branding.name || !!branding.logo return (