Fix "query.staking.bonded Bonded expect one argument" (#1361)

* fix 1069

* remove that automatically imported import
This commit is contained in:
Thibaut Sardan 2019-07-07 18:40:15 +02:00 committed by Jaco Greeff
parent c383316333
commit a2d6a61d0e

View File

@ -123,6 +123,10 @@ class App extends React.PureComponent<Props, State> {
const { controllers, recentlyOffline, stashes, validators } = this.state;
const { balances = {}, allAccounts } = this.props;
if (!allAccounts) {
return null;
}
return (
<Component
allAccounts={allAccounts}