Merge pull request #773 from esteemapp/feature/transfer

Fixed transfer form issue
This commit is contained in:
uğur erdal 2019-04-29 20:10:53 +03:00 committed by GitHub
commit 2330b30637
3 changed files with 5 additions and 4 deletions

View File

@ -26,7 +26,7 @@ class WalletContainer extends PureComponent {
// Component Life Cycle Functions
// Component Functions
_navigate = (transferType, fundType) => {
_navigate = async (transferType, fundType) => {
const { dispatch, setPinCodeState, walletData } = this.props;
let balance;
@ -41,7 +41,7 @@ class WalletContainer extends PureComponent {
break;
}
setPinCodeState({
await setPinCodeState({
navigateTo: ROUTES.SCREENS.TRANSFER,
navigateParams: { transferType, fundType, balance },
});

View File

@ -313,6 +313,7 @@ class PinCodeContainer extends Component {
render() {
const { currentAccount, intl, isReset } = this.props;
const { informationText, isExistUser } = this.state;
return (
<PinCodeScreen
informationText={informationText}

View File

@ -157,8 +157,8 @@ const RootContainer = () => (WrappedComponent) => {
}, 1 * 60 * 1000);
};
_setPinCodeState = (data) => {
this.setState({ pinCodeStates: { ...data } });
_setPinCodeState = async (data) => {
return this.setState({ pinCodeStates: { ...data } });
};
_setWrappedComponentState = (data) => {