mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
remove unnecessary extra bool check for cobranding (#4368)
GitOrigin-RevId: 3f1c6b03030d7fd59be802053f6bcf49e919e0ea
This commit is contained in:
+3
-3
@@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user