From 335e34332f99a62b324e90bf05d763abce2de764 Mon Sep 17 00:00:00 2001 From: viktor Date: Mon, 29 Jan 2018 22:39:28 +0300 Subject: [PATCH] await this.keysManager.init --- src/App.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.js b/src/App.js index cf7e2e1..16ecf53 100644 --- a/src/App.js +++ b/src/App.js @@ -45,10 +45,10 @@ class App extends Component { isDisabledBtn: false } this.keysManager = null; - getWeb3().then((web3Config) => { + getWeb3().then(async (web3Config) => { this.setState({web3Config}) this.keysManager = new KeysManager() - this.keysManager.init({ + await this.keysManager.init({ web3: web3Config.web3Instance, netId: web3Config.netId });