fixed back navigation failing in login screen

This commit is contained in:
Nouman Tahir 2022-09-26 14:36:05 +05:00
parent 8caa01cfb9
commit f60235c436
2 changed files with 3 additions and 2 deletions

View File

@ -271,9 +271,11 @@ class LoginContainer extends PureComponent {
};
render() {
const { navigation } = this.props;
const { isLoading } = this.state;
return (
<LoginScreen
navigation={navigation}
handleOnPressLogin={this._handleOnPressLogin}
getAccountsWithUsername={this._getAccountsWithUsername}
handleSignUp={this._handleSignUp}

View File

@ -4,7 +4,6 @@ import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view
import ScrollableTabView from 'react-native-scrollable-tab-view';
import { injectIntl } from 'react-intl';
import { debounce } from 'lodash';
import { withNavigation } from '@react-navigation/compat';
// Actions
import HiveSigner from '../../steem-connect/hiveSigner';
@ -218,4 +217,4 @@ class LoginScreen extends PureComponent {
}
}
export default withNavigation(injectIntl(LoginScreen));
export default injectIntl(LoginScreen);