Skip to content

Commit

Permalink
fix(sell): sell for should also stop submit
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLeoB committed Feb 3, 2021
1 parent 1fac8dc commit 8bf2b4f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,7 @@ export default ({

const error = errorHandler(e)
if (values?.orderType === 'SELL') {
return yield put(
actions.form.stopSubmit('previewSell', { _error: error })
)
yield put(actions.form.stopSubmit('previewSell', { _error: error }))
}
yield put(actions.form.stopSubmit('simpleBuyCheckout', { _error: error }))
}
Expand Down

0 comments on commit 8bf2b4f

Please sign in to comment.