mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 12:51:42 +03:00
Fixed transfer form issue
This commit is contained in:
parent
ac0b6a8aaf
commit
789803b1cb
@ -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 },
|
||||
});
|
||||
|
@ -313,6 +313,7 @@ class PinCodeContainer extends Component {
|
||||
render() {
|
||||
const { currentAccount, intl, isReset } = this.props;
|
||||
const { informationText, isExistUser } = this.state;
|
||||
|
||||
return (
|
||||
<PinCodeScreen
|
||||
informationText={informationText}
|
||||
|
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user