Skip to content

Commit

Permalink
feat(borrow): direct to details when loan is successful
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip London committed Feb 12, 2020
1 parent 2e34fe7 commit 47c3977
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,7 @@ export default ({
payment = yield payment.sign(password)
payment = yield payment.publish()
yield put(actions.form.stopSubmit('borrowForm'))
yield put(
actions.alerts.displaySuccess(
'Borrow successfully created. Collateral deposited.'
)
)
yield put(A.setStep({ step: 'DETAILS', loan }))
} catch (e) {
yield put(actions.form.stopSubmit('borrowForm', { _error: e }))
}
Expand Down

0 comments on commit 47c3977

Please sign in to comment.