remove unnecessary extra bool check for cobranding (#4368)

GitOrigin-RevId: 3f1c6b03030d7fd59be802053f6bcf49e919e0ea
This commit is contained in:
Hugh O'Brien
2021-08-04 02:05:39 +00:00
committed by Copybot
parent 296ce0e460
commit d2f5509fed
2 changed files with 3 additions and 4 deletions
@@ -43,9 +43,9 @@ const ToolbarHeader = React.memo(function ToolbarHeader({
<header className="toolbar toolbar-header toolbar-with-labels">
<div className="toolbar-left">
<MenuButton onClick={onShowLeftMenuClick} />
{cobranding &&
cobranding.isProjectCobranded &&
cobranding.logoImgUrl && <CobrandingLogo {...cobranding} />}
{cobranding && cobranding.logoImgUrl && (
<CobrandingLogo {...cobranding} />
)}
<BackToProjectsButton />
</div>
{pdfButtonIsVisible && (