aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-01-18 23:18:25 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-18 23:18:25 +0800
commit614ea14a7fe90252d2bef8a97b3c376ae4498a17 (patch)
tree09051098c9ecf1c98f29d0de4aeee4af31d41bda /packages/website/ts/components
parentce45f9900618958d9cb71cb71a32446021698ee6 (diff)
downloaddexon-0x-contracts-614ea14a7fe90252d2bef8a97b3c376ae4498a17.tar.gz
dexon-0x-contracts-614ea14a7fe90252d2bef8a97b3c376ae4498a17.tar.zst
dexon-0x-contracts-614ea14a7fe90252d2bef8a97b3c376ae4498a17.zip
Fix prettier
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r--packages/website/ts/components/top_bar.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/website/ts/components/top_bar.tsx b/packages/website/ts/components/top_bar.tsx
index c07366a0c..0859755fe 100644
--- a/packages/website/ts/components/top_bar.tsx
+++ b/packages/website/ts/components/top_bar.tsx
@@ -167,8 +167,10 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
</div>
</div>
)}
- {this.props.blockchainIsLoaded && _.isEmpty(this.props.userAddress) &&
- <div className="col col-5 sm-hide xs-hide">{this._renderUser()}</div>}
+ {this.props.blockchainIsLoaded &&
+ _.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`}>
<div style={menuIconStyle}>
<i className="zmdi zmdi-menu" onClick={this._onMenuButtonClick.bind(this)} />