From 041d9347781fb2389039ff19708c9266b9acc21b Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sun, 14 Oct 2018 22:35:58 +0200 Subject: [PATCH] show infoline only when everything is ready --- src/components/Web3Donation/InputGroup.jsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/Web3Donation/InputGroup.jsx b/src/components/Web3Donation/InputGroup.jsx index 0e2edf8a..ff86c05f 100644 --- a/src/components/Web3Donation/InputGroup.jsx +++ b/src/components/Web3Donation/InputGroup.jsx @@ -47,10 +47,13 @@ export default class InputGroup extends PureComponent { > Make it rain -
- - {selectedAccount && } -
+ {hasCorrectNetwork && + hasAccount && ( +
+ + {selectedAccount && } +
+ )} ) }