Skip to content

Commit

Permalink
display network name if balance loaded (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
james-prado authored and dternyak committed Nov 15, 2017
1 parent 05a9770 commit 151b2d7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions common/components/BalanceSidebar/AccountInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ export default class AccountInfo extends React.Component<Props, State> {
/>
)}
</span>
{balance && !balance.isPending ? (
<span> {network.name}</span>
{!balance.isPending ? (
balance.wei ? (
<span> {network.name}</span>
) : null
) : null}
</li>
</ul>
Expand Down

0 comments on commit 151b2d7

Please sign in to comment.