1
0
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:
Matthias Kretschmann 2018-10-14 22:35:58 +02:00
parent 6e79a276ff
commit 041d934778
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -47,10 +47,13 @@ export default class InputGroup extends PureComponent {
>
Make it rain
</button>
{hasCorrectNetwork &&
hasAccount && (
<div className={styles.infoline}>
<Conversion amount={amount} />
{selectedAccount && <Account account={selectedAccount} />}
</div>
)}
</div>
)
}