Skip to content

Commit

Permalink
fix(Coinify): take user to buy tab after KYC submission
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Welber committed Jun 4, 2018
1 parent 68573ee commit 91c7af2
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,14 @@ export default ({ coreSagas }) => {
yield put(A.coinifySignupComplete())
yield call(delay, 500)
yield put(actions.modals.closeAllModals())
} else if (trade.data.constructor.name !== 'Trade') {
yield put(actions.form.change('buySellTabStatus', 'status', 'buy'))
} else {
yield put(actions.form.change('buySellTabStatus', 'status', 'order_history'))
}

yield put(A.coinifyNextCheckoutStep('checkout'))
yield call(coreSagas.data.coinify.getKYCs)
yield put(actions.modals.showModal('CoinifyTradeDetails', { trade: trade.data, status: status }))
yield call(coreSagas.data.coinify.getKYCs)
} catch (e) {
yield put(actions.logs.logErrorMessage(logLocation, 'fromISX', e))
}
Expand Down

0 comments on commit 91c7af2

Please sign in to comment.