From c06802e6760d59e767fa5535387f0d9cb8dd275f Mon Sep 17 00:00:00 2001 From: Ivan Zhadaev Date: Mon, 14 Oct 2024 14:35:04 +0000 Subject: [PATCH] Removed separate B12 icon from SidebarHeader --- .../sidebar/header/SidebarHeader.es6.js | 32 ++++--------------- style/layout/side-pane.scss | 16 ++-------- 2 files changed, 9 insertions(+), 39 deletions(-) diff --git a/components/layout/sidebar/header/SidebarHeader.es6.js b/components/layout/sidebar/header/SidebarHeader.es6.js index 34619c1..3a44c77 100644 --- a/components/layout/sidebar/header/SidebarHeader.es6.js +++ b/components/layout/sidebar/header/SidebarHeader.es6.js @@ -6,7 +6,7 @@ import QuickActions from './QuickActions.es6.js' import SidebarBackButton from './SidebarBackButton.es6.js' import SidebarHeaderActionButton from './SidebarHeaderActionButton.es6.js' import Button from '../../../form/button/Button.es6.js' -import { Home, B12Logo } from '../../../Icons.es6.js' +import { B12Logo } from '../../../Icons.es6.js' class SidebarHeader extends React.Component { state = { @@ -74,15 +74,13 @@ class SidebarHeader extends React.Component { quickDialog, showLogo, steps, - title, - b12Button, - onB12Click + title } = this.props const { actionsAvailable, actionsVisible } = this.state return ( -
+
{showLogo && } @@ -97,20 +95,6 @@ class SidebarHeader extends React.Component { {!showLogo && !backButton && leftAction} {homeButton && ( - -
- {!isScrollingDown && ( -