mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-27 03:14:56 +03:00
Fixed transfer form issue
This commit is contained in:
parent
7e26dd1e07
commit
300a5b7752
@ -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