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:
Jannis Redmann 2016-10-20 16:37:25 +02:00 committed by Jaco Greeff
parent 5c49168a66
commit 68efbe32bf

View File

@ -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 } />