This commit is contained in:
Mustafa Buyukcelebi 2019-07-22 15:39:40 +03:00
parent 30362dd3b3
commit 8c03bae5f9

View File

@ -562,7 +562,9 @@ class ApplicationContainer extends Component {
};
_switchAccount = async targetAccountUsername => {
const { dispatch } = this.props;
const { dispatch, isConnected } = this.props;
if (!isConnected) return;
const accountData = await switchAccount(targetAccountUsername);