diff --git a/src/components/Dashboard/home/DashboardHomeAttestation.tsx b/src/components/Dashboard/home/DashboardHomeAttestation.tsx index c40dc78..51905c0 100644 --- a/src/components/Dashboard/home/DashboardHomeAttestation.tsx +++ b/src/components/Dashboard/home/DashboardHomeAttestation.tsx @@ -32,10 +32,9 @@ export default function DashboardHomeAttestation({handleNextStep, applicationDet //FUNCTION TO HANDLE LOAN APPLICATION const handleSubmit = (values:any) => { delete values.checked - applyForLoan({...applicationDetails, disbursement: values}).then(res=>{ + applyForLoan({...applicationDetails,disbursement_account: values?.account, disbursement: values}).then(res=>{ console.log('APPLY FOR LOAN', res) handleNextStep({disbursement: values}) - console.log('ApplicationDetails', {...applicationDetails, disbursement: values}) }).catch(err=>{ console.log(err) })