api issue fix
This commit is contained in:
@@ -15,7 +15,11 @@ export default function PayloanScreens({step, screens, typeToShow, setShowType,
|
||||
{/* <GetLoan step={step} handleStep={handleStep} screens={screens} typeToShow={typeToShow} setShowType={setShowType} /> */}
|
||||
<PinRepayment step={step} handleStep={handleStep} screens={screens} />
|
||||
</>
|
||||
: null
|
||||
: step?.screen[step.screen.length -1 ] == screens.finished ?
|
||||
<>
|
||||
<PinRepayment step={step} handleStep={handleStep} screens={screens} />
|
||||
</>
|
||||
:null
|
||||
}
|
||||
</>
|
||||
)
|
||||
|
||||
@@ -37,7 +37,7 @@ export default function PinRepayment({step, handleStep, screens}) {
|
||||
},
|
||||
onSuccess: (res) => {
|
||||
setIsSuccess(true)
|
||||
// handleStep({...step}, screens.finished)
|
||||
handleStep({...step}, screens.finished)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user