mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 09:46:30 -05:00
Remove log message and fix null check
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
e1e8a76fda
commit
bee715b8f9
1 changed files with 1 additions and 3 deletions
|
@ -10,9 +10,7 @@ export interface BrandingProps {
|
||||||
|
|
||||||
export const Branding: React.FC<BrandingProps> = ({ inline = false }) => {
|
export const Branding: React.FC<BrandingProps> = ({ inline = false }) => {
|
||||||
const branding = useSelector((state: ApplicationState) => state.backendConfig.branding)
|
const branding = useSelector((state: ApplicationState) => state.backendConfig.branding)
|
||||||
const showBranding = branding.name !== '' || branding.logo !== ''
|
const showBranding = !!branding.name || !!branding.logo
|
||||||
|
|
||||||
console.log(branding.logo)
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ShowIf condition={showBranding}>
|
<ShowIf condition={showBranding}>
|
||||||
|
|
Loading…
Reference in a new issue