Hide refresh button and its spinner on initial balance fetch (#1108)
This commit is contained in:
parent
1ff26baa63
commit
cec0d690c7
|
@ -134,6 +134,8 @@ class AccountInfo extends React.Component<Props, State> {
|
|||
symbol={balance.wei ? network.name : null}
|
||||
/>
|
||||
</span>
|
||||
{balance.wei && (
|
||||
<React.Fragment>
|
||||
{balance.isPending ? (
|
||||
<Spinner />
|
||||
) : (
|
||||
|
@ -146,6 +148,8 @@ class AccountInfo extends React.Component<Props, State> {
|
|||
</button>
|
||||
)
|
||||
)}
|
||||
</React.Fragment>
|
||||
)}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue