diff options
author | Dan Miller <danjm.com@gmail.com> | 2018-10-10 00:35:54 +0800 |
---|---|---|
committer | Dan Miller <danjm.com@gmail.com> | 2018-12-04 11:36:05 +0800 |
commit | a2bbf504b891a63f32070961118ec1ae6fa5fdd8 (patch) | |
tree | 60add1370c5d0ab38958ba96806d692bd87c5231 /ui/app/components/pages | |
parent | 2dbae581ac3f9190ddd1c3457bd51b41eef8051b (diff) | |
download | tangerine-wallet-browser-a2bbf504b891a63f32070961118ec1ae6fa5fdd8.tar tangerine-wallet-browser-a2bbf504b891a63f32070961118ec1ae6fa5fdd8.tar.gz tangerine-wallet-browser-a2bbf504b891a63f32070961118ec1ae6fa5fdd8.tar.bz2 tangerine-wallet-browser-a2bbf504b891a63f32070961118ec1ae6fa5fdd8.tar.lz tangerine-wallet-browser-a2bbf504b891a63f32070961118ec1ae6fa5fdd8.tar.xz tangerine-wallet-browser-a2bbf504b891a63f32070961118ec1ae6fa5fdd8.tar.zst tangerine-wallet-browser-a2bbf504b891a63f32070961118ec1ae6fa5fdd8.zip |
Read only connection of gas price chart to redux
Diffstat (limited to 'ui/app/components/pages')
-rw-r--r-- | ui/app/components/pages/confirm-transaction/confirm-transaction.component.js | 6 | ||||
-rw-r--r-- | ui/app/components/pages/confirm-transaction/confirm-transaction.container.js | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ui/app/components/pages/confirm-transaction/confirm-transaction.component.js b/ui/app/components/pages/confirm-transaction/confirm-transaction.component.js index 614b3e584..7a3b58ffa 100644 --- a/ui/app/components/pages/confirm-transaction/confirm-transaction.component.js +++ b/ui/app/components/pages/confirm-transaction/confirm-transaction.component.js @@ -32,7 +32,7 @@ export default class ConfirmTransaction extends Component { setTransactionToConfirm: PropTypes.func, confirmTransaction: PropTypes.object, clearConfirmTransaction: PropTypes.func, - fetchGasEstimates: PropTypes.func, + fetchBasicGasEstimates: PropTypes.func, } getParamsTransactionId () { @@ -46,7 +46,7 @@ export default class ConfirmTransaction extends Component { send = {}, history, confirmTransaction: { txData: { id: transactionId } = {} }, - fetchGasEstimates, + fetchBasicGasEstimates, } = this.props if (!totalUnapprovedCount && !send.to) { @@ -55,7 +55,7 @@ export default class ConfirmTransaction extends Component { } if (!transactionId) { - fetchGasEstimates() + fetchBasicGasEstimates() this.setTransactionToConfirm() } } diff --git a/ui/app/components/pages/confirm-transaction/confirm-transaction.container.js b/ui/app/components/pages/confirm-transaction/confirm-transaction.container.js index cb1a737f9..a7e6966af 100644 --- a/ui/app/components/pages/confirm-transaction/confirm-transaction.container.js +++ b/ui/app/components/pages/confirm-transaction/confirm-transaction.container.js @@ -6,7 +6,7 @@ import { clearConfirmTransaction, } from '../../../ducks/confirm-transaction.duck' import { - fetchGasEstimates, + fetchBasicGasEstimates, } from '../../../ducks/gas.duck' import ConfirmTransaction from './confirm-transaction.component' import { getTotalUnapprovedCount } from '../../../selectors' @@ -27,7 +27,7 @@ const mapDispatchToProps = dispatch => { return { setTransactionToConfirm: transactionId => dispatch(setTransactionToConfirm(transactionId)), clearConfirmTransaction: () => dispatch(clearConfirmTransaction()), - fetchGasEstimates: () => dispatch(fetchGasEstimates()), + fetchBasicGasEstimates: () => dispatch(fetchBasicGasEstimates()), } } |