diff options
author | Dan <danjm.com@gmail.com> | 2018-04-28 03:03:00 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-04-30 23:35:48 +0800 |
commit | 26f965bcceb26ce7cdec9df9f213b44be8d9acac (patch) | |
tree | 155bad73750b5c3905f799eac6d298c9dc7305dc /ui/app/components/customize-gas-modal | |
parent | 33c16d1bf62133a87d8f24232ee85438a6b6a0e6 (diff) | |
download | tangerine-wallet-browser-26f965bcceb26ce7cdec9df9f213b44be8d9acac.tar.gz tangerine-wallet-browser-26f965bcceb26ce7cdec9df9f213b44be8d9acac.tar.zst tangerine-wallet-browser-26f965bcceb26ce7cdec9df9f213b44be8d9acac.zip |
Further refactors; includes refactor of send-v2.js and associated container
Diffstat (limited to 'ui/app/components/customize-gas-modal')
-rw-r--r-- | ui/app/components/customize-gas-modal/index.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ui/app/components/customize-gas-modal/index.js b/ui/app/components/customize-gas-modal/index.js index 4c693d1c3..0761faa99 100644 --- a/ui/app/components/customize-gas-modal/index.js +++ b/ui/app/components/customize-gas-modal/index.js @@ -8,6 +8,10 @@ const GasModalCard = require('./gas-modal-card') const ethUtil = require('ethereumjs-util') +import { + updateSendErrors, +} from '../../ducks/send' + const { MIN_GAS_PRICE_DEC, MIN_GAS_LIMIT_DEC, @@ -63,9 +67,9 @@ function mapDispatchToProps (dispatch) { hideModal: () => dispatch(actions.hideModal()), updateGasPrice: newGasPrice => dispatch(actions.updateGasPrice(newGasPrice)), updateGasLimit: newGasLimit => dispatch(actions.updateGasLimit(newGasLimit)), - updateGasTotal: newGasTotal => dispatch(actions.updateGasTotal(newGasTotal)), + updateGasTotal: newGasTotal => dispatch(actions.setGasTotal(newGasTotal)), updateSendAmount: newAmount => dispatch(actions.updateSendAmount(newAmount)), - updateSendErrors: error => dispatch(actions.updateSendErrors(error)), + updateSendErrors: error => dispatch(updateSendErrors(error)), } } |