diff --git a/common/components/BalanceSidebar/BalanceSidebar.jsx b/common/components/BalanceSidebar/BalanceSidebar.jsx index 556445bd..8340c244 100644 --- a/common/components/BalanceSidebar/BalanceSidebar.jsx +++ b/common/components/BalanceSidebar/BalanceSidebar.jsx @@ -33,7 +33,6 @@ export class BalanceSidebar extends React.Component { }; componentDidMount() { - if (!this.props.wallet) return; this.props.wallet .getAddress() .then(addr => { @@ -48,6 +47,7 @@ export class BalanceSidebar extends React.Component { render() { const { wallet, balance, network, tokenBalances, rates } = this.props; const { blockExplorer, tokenExplorer } = network; + const { address } = this.state; if (!wallet) { return null; } @@ -58,9 +58,9 @@ export class BalanceSidebar extends React.Component { {translate('sidebar_AccountAddr')}