diff options
author | Dan Miller <danjm.com@gmail.com> | 2018-12-13 00:43:10 +0800 |
---|---|---|
committer | Dan Miller <danjm.com@gmail.com> | 2018-12-13 00:57:44 +0800 |
commit | 66f7102c060f89d08e5997de4c318267e9b1357c (patch) | |
tree | dc687a5b21428a768bc381b72cbadb884aa13fb4 /ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js | |
parent | dabf263733a024fa5e190a64edce4aa1476130ea (diff) | |
download | tangerine-wallet-browser-66f7102c060f89d08e5997de4c318267e9b1357c.tar.gz tangerine-wallet-browser-66f7102c060f89d08e5997de4c318267e9b1357c.tar.zst tangerine-wallet-browser-66f7102c060f89d08e5997de4c318267e9b1357c.zip |
Show transaction fee instead of total fee in top left of gas customization modal.
Diffstat (limited to 'ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js')
-rw-r--r-- | ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js b/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js index ba28ba63d..366ad88c9 100644 --- a/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js +++ b/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js @@ -17,7 +17,7 @@ export default class AdvancedTabContent extends Component { customGasLimit: PropTypes.number, gasEstimatesLoading: PropTypes.bool, millisecondsRemaining: PropTypes.number, - totalFee: PropTypes.string, + transactionFee: PropTypes.string, timeRemaining: PropTypes.string, gasChartProps: PropTypes.object, insufficientBalance: PropTypes.bool, @@ -104,7 +104,7 @@ export default class AdvancedTabContent extends Component { return <i className="fa fa-info-circle" onClick={onClick} /> } - renderDataSummary (totalFee, timeRemaining) { + renderDataSummary (transactionFee, timeRemaining) { return ( <div className="advanced-tab__transaction-data-summary"> <div className="advanced-tab__transaction-data-summary__titles"> @@ -113,7 +113,7 @@ export default class AdvancedTabContent extends Component { </div> <div className="advanced-tab__transaction-data-summary__container"> <div className="advanced-tab__transaction-data-summary__fee"> - {totalFee} + {transactionFee} </div> <div className="time-remaining">{timeRemaining}</div> </div> @@ -173,16 +173,16 @@ export default class AdvancedTabContent extends Component { customGasPrice, customGasLimit, insufficientBalance, - totalFee, gasChartProps, gasEstimatesLoading, customPriceIsSafe, isSpeedUp, + transactionFee, } = this.props return ( <div className="advanced-tab"> - { this.renderDataSummary(totalFee, timeRemaining) } + { this.renderDataSummary(transactionFee, timeRemaining) } <div className="advanced-tab__fee-chart"> { this.renderGasEditRows({ customGasPrice, |