Commit b57f133a authored by Chi Kei Chan's avatar Chi Kei Chan

Return when web3 is found

parent 3bcecfd0
......@@ -140,6 +140,7 @@ export const initialize = () => (dispatch, getState) => {
payload: web3,
});
resolve(web3);
return;
}
dispatch({ type: INITIALIZE });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment