mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-03 11:34:30 +03:00
update
This commit is contained in:
parent
30362dd3b3
commit
8c03bae5f9
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user