aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-01-19 11:26:03 +0800
committerFabio Berger <me@fabioberger.com>2018-01-19 11:26:03 +0800
commitd34135ae436acc2bc7ef669845e50238137e6812 (patch)
tree4e67015c23d2406974f8d980224e0e24f26ad77d /packages/website
parenta81f6f9ad13d16258bb924896951917435107e74 (diff)
downloaddexon-sol-tools-d34135ae436acc2bc7ef669845e50238137e6812.tar
dexon-sol-tools-d34135ae436acc2bc7ef669845e50238137e6812.tar.gz
dexon-sol-tools-d34135ae436acc2bc7ef669845e50238137e6812.tar.bz2
dexon-sol-tools-d34135ae436acc2bc7ef669845e50238137e6812.tar.lz
dexon-sol-tools-d34135ae436acc2bc7ef669845e50238137e6812.tar.xz
dexon-sol-tools-d34135ae436acc2bc7ef669845e50238137e6812.tar.zst
dexon-sol-tools-d34135ae436acc2bc7ef669845e50238137e6812.zip
Fix bug hiding the user info from topBar
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/components/top_bar.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/top_bar.tsx b/packages/website/ts/components/top_bar.tsx
index 0859755fe..11d3e7cc2 100644
--- a/packages/website/ts/components/top_bar.tsx
+++ b/packages/website/ts/components/top_bar.tsx
@@ -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`}>