display network name if balance loaded (#402)

This commit is contained in:
James Prado 2017-11-15 00:47:03 -05:00 committed by Daniel Ternyak
parent 05a9770a9b
commit 151b2d762f

View File

@ -89,8 +89,10 @@ export default class AccountInfo extends React.Component<Props, State> {
/> />
)} )}
</span> </span>
{balance && !balance.isPending ? ( {!balance.isPending ? (
balance.wei ? (
<span> {network.name}</span> <span> {network.name}</span>
) : null
) : null} ) : null}
</li> </li>
</ul> </ul>