Skip to content

Commit

Permalink
fix - switching currency on exchange form will reset the amount(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyncee59 committed May 29, 2018
1 parent 001db3e commit ba48e61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default ({ api, coreSagas }) => {
const target = prop('target', form)
yield put(actions.form.change2('exchange', 'source', target))
yield put(actions.form.change2('exchange', 'target', source))
yield call(changeAmount)
yield call(resetForm)
yield call(validateForm)
} catch (e) {
yield put(actions.logs.logErrorMessage(logLocation, 'swapClicked', e))
Expand Down

0 comments on commit ba48e61

Please sign in to comment.