diff --git a/src/app/Sidebar.js b/src/app/Sidebar.js index b3b9c8b6e4..8a1a5d66b8 100644 --- a/src/app/Sidebar.js +++ b/src/app/Sidebar.js @@ -11,7 +11,7 @@ import api from '../steemAPI'; import { hideSidebar } from '../actions'; import Loading from '../widgets/Loading'; import Icon from '../widgets/Icon'; -import Avatar from '../widgets/Avatar'; +import SidebarHeader from './Sidebar/SidebarHeader'; import SidebarTabs from './Sidebar/SidebarTabs'; import SidebarUsers from './Sidebar/SidebarUsers'; import './Sidebar.scss'; @@ -157,7 +157,8 @@ export default class Sidebar extends Component { render() { const { search, props, menu } = this.state; - const { auth: { user }, app: { rate } } = this.props; + const { auth, app: { rate }, hideSidebar } = this.props; + const { user } = auth; const power = props ? formatter.vestToSteem( @@ -174,24 +175,12 @@ export default class Sidebar extends Component { return (