fix contract deployments not showing up (#2759)
* fix contract deployments not showing up
I'm really not happy with this.
Since the Signer consists of many, deeply nested, components, which in many cases
just pass props through, it's hard to trace this. `<TransactionPending>` is
supposed to fetch data from Parity (smart component) and pass it on to its (dumb)
children. For that, it needs to know implementation details of them.
* eslint 💄
This commit is contained in:
parent
5c49168a66
commit
68efbe32bf
@ -78,8 +78,7 @@ export default class TransactionPending extends Component {
|
||||
}
|
||||
|
||||
render () {
|
||||
const { chain, fromBalance, toBalance } = this.state;
|
||||
if (!chain || !fromBalance || !toBalance) {
|
||||
if (!this.state.chain) {
|
||||
return (
|
||||
<div className={ `${styles.container} ${className}` }>
|
||||
<CircularProgress size={ 1 } />
|
||||
|
Loading…
Reference in New Issue
Block a user