diff --git a/common/components/BalanceSidebar/AccountInfo.tsx b/common/components/BalanceSidebar/AccountInfo.tsx index cd5d9855..f34ef62c 100644 --- a/common/components/BalanceSidebar/AccountInfo.tsx +++ b/common/components/BalanceSidebar/AccountInfo.tsx @@ -160,7 +160,7 @@ class AccountInfo extends React.Component { unit={'ether'} displayShortBalance={!showLongBalance} checkOffline={true} - symbol={balance.wei ? network.name : null} + symbol={balance.wei ? this.setSymbol(network) : null} /> {balance.wei && ( @@ -214,6 +214,13 @@ class AccountInfo extends React.Component { ); } + + private setSymbol(network: NetworkConfig) { + if (network.isTestnet) { + return network.unit + ' (' + network.name + ')'; + } + return network.unit; + } } function mapStateToProps(state: AppState): StateProps { return {