mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-22 09:13:35 +01:00
show infoline only when everything is ready
This commit is contained in:
parent
6e79a276ff
commit
041d934778
@ -47,10 +47,13 @@ export default class InputGroup extends PureComponent {
|
||||
>
|
||||
Make it rain
|
||||
</button>
|
||||
<div className={styles.infoline}>
|
||||
<Conversion amount={amount} />
|
||||
{selectedAccount && <Account account={selectedAccount} />}
|
||||
</div>
|
||||
{hasCorrectNetwork &&
|
||||
hasAccount && (
|
||||
<div className={styles.infoline}>
|
||||
<Conversion amount={amount} />
|
||||
{selectedAccount && <Account account={selectedAccount} />}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user