Merge branch 'disbursement-account' of DigiFi/digifi-www into master

This commit is contained in:
2024-07-17 18:59:31 +00:00
committed by Gogs
@@ -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)
})