mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-28 07:55:08 +03:00
fixed tab change issue
This commit is contained in:
parent
2473eac8b0
commit
43ac6ed2f9
@ -97,7 +97,7 @@ class ProfileContainer extends Component {
|
|||||||
get(nextProps, 'activeBottomTab') === ROUTES.TABBAR.PROFILE;
|
get(nextProps, 'activeBottomTab') === ROUTES.TABBAR.PROFILE;
|
||||||
|
|
||||||
if ((isActiveTabChanged && user) || currentUsername) {
|
if ((isActiveTabChanged && user) || currentUsername) {
|
||||||
this._loadProfile(currentUsername);
|
this._loadProfile(get(nextProps, 'currentAccount.name'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user