aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send/eth-fee-display.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-20 02:00:47 +0800
committerDan <danjm.com@gmail.com>2018-03-20 02:00:47 +0800
commitd8788af9b867cebcc702384b780cc06a06f9d33b (patch)
tree126ae3e4bfd478b75bf6a550caa40d1629db0761 /ui/app/components/send/eth-fee-display.js
parente51ba2e75c517d88f0e526eed613ef656af47293 (diff)
parent424e98f6a896df6a848a92ef318464abc505d83d (diff)
downloadtangerine-wallet-browser-d8788af9b867cebcc702384b780cc06a06f9d33b.tar.gz
tangerine-wallet-browser-d8788af9b867cebcc702384b780cc06a06f9d33b.tar.zst
tangerine-wallet-browser-d8788af9b867cebcc702384b780cc06a06f9d33b.zip
Merge branch 'master' into retry-tx-refractor
Diffstat (limited to 'ui/app/components/send/eth-fee-display.js')
-rw-r--r--ui/app/components/send/eth-fee-display.js37
1 files changed, 0 insertions, 37 deletions
diff --git a/ui/app/components/send/eth-fee-display.js b/ui/app/components/send/eth-fee-display.js
deleted file mode 100644
index 9eda5ec62..000000000
--- a/ui/app/components/send/eth-fee-display.js
+++ /dev/null
@@ -1,37 +0,0 @@
-const Component = require('react').Component
-const h = require('react-hyperscript')
-const inherits = require('util').inherits
-const EthBalance = require('../eth-balance')
-const { getTxFeeBn } = require('../../util')
-
-module.exports = EthFeeDisplay
-
-inherits(EthFeeDisplay, Component)
-function EthFeeDisplay () {
- Component.call(this)
-}
-
-EthFeeDisplay.prototype.render = function () {
- const {
- activeCurrency,
- conversionRate,
- gas,
- gasPrice,
- blockGasLimit,
- } = this.props
-
- return h(EthBalance, {
- value: getTxFeeBn(gas, gasPrice, blockGasLimit),
- currentCurrency: activeCurrency,
- conversionRate,
- showFiat: false,
- hideTooltip: true,
- styleOveride: {
- color: '#5d5d5d',
- fontSize: '16px',
- fontFamily: 'DIN OT',
- lineHeight: '22.4px',
- },
- })
-}
-