diff --git a/src/screens/profile/container/profileContainer.js b/src/screens/profile/container/profileContainer.js index 80eff17d6..8df955291 100644 --- a/src/screens/profile/container/profileContainer.js +++ b/src/screens/profile/container/profileContainer.js @@ -44,14 +44,12 @@ class ProfileContainer extends Component { isReverseHeader, user: null, selectedQuickProfile: null, - activeTab: 0, }; } componentDidMount = () => { const { navigation, isLoggedIn, currentAccount } = this.props; const selectedUser = navigation.state && navigation.state.params; - const { isWalletTab } = navigation.state && navigation.state.params; if (!isLoggedIn && !selectedUser) { navigation.navigate(ROUTES.SCREENS.LOGIN); @@ -74,10 +72,6 @@ class ProfileContainer extends Component { } else { this._loadProfile(currentAccount.name); } - - if (isWalletTab) { - this.setState({ activeTab: 2 }); - } }; componentWillReceiveProps(nextProps) { @@ -334,14 +328,12 @@ class ProfileContainer extends Component { selectedQuickProfile, user, username, - activeTab, } = this.state; const { isDarkTheme, isLoggedIn, currency } = this.props; return ( (