From 43ac6ed2f96034d7d93f64b6d295e93e36dcd19e Mon Sep 17 00:00:00 2001 From: ue Date: Fri, 20 Sep 2019 00:45:07 +0300 Subject: [PATCH] fixed tab change issue --- src/containers/profileContainer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/profileContainer.js b/src/containers/profileContainer.js index 17fc830bd..98ea447fd 100644 --- a/src/containers/profileContainer.js +++ b/src/containers/profileContainer.js @@ -97,7 +97,7 @@ class ProfileContainer extends Component { get(nextProps, 'activeBottomTab') === ROUTES.TABBAR.PROFILE; if ((isActiveTabChanged && user) || currentUsername) { - this._loadProfile(currentUsername); + this._loadProfile(get(nextProps, 'currentAccount.name')); } } }