Fix bug hiding the user info from topBar

This commit is contained in:
Fabio Berger
2018-01-19 11:26:03 +08:00
parent a81f6f9ad1
commit d34135ae43

View File

@@ -168,7 +168,7 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
</div>
)}
{this.props.blockchainIsLoaded &&
_.isEmpty(this.props.userAddress) && (
!_.isEmpty(this.props.userAddress) && (
<div className="col col-5 sm-hide xs-hide">{this._renderUser()}</div>
)}
<div className={`col ${isFullWidthPage ? 'col-2 pl2' : 'col-1'} md-hide lg-hide`}>