diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-11-22 03:03:32 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-11-22 03:03:32 +0800 |
commit | 7ab9d408201ae65ad30512f1361df61a487a9330 (patch) | |
tree | cc7b208d36e9cf6eafcab5bd36edba0f46595a64 /ui/app/components/coinbase-form.js | |
parent | e8a83026248e6e27e6d801cf1713551eb740137a (diff) | |
parent | 7021c7708c927b8723b6ba5842b451b6f46dbb3e (diff) | |
download | tangerine-wallet-browser-7ab9d408201ae65ad30512f1361df61a487a9330.tar.gz tangerine-wallet-browser-7ab9d408201ae65ad30512f1361df61a487a9330.tar.zst tangerine-wallet-browser-7ab9d408201ae65ad30512f1361df61a487a9330.zip |
Merge branch 'dev' into i831-AddRopsten-Dev
Diffstat (limited to 'ui/app/components/coinbase-form.js')
-rw-r--r-- | ui/app/components/coinbase-form.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ui/app/components/coinbase-form.js b/ui/app/components/coinbase-form.js index 3c5708bf8..693eb2ea8 100644 --- a/ui/app/components/coinbase-form.js +++ b/ui/app/components/coinbase-form.js @@ -7,7 +7,7 @@ const actions = require('../actions') const isValidAddress = require('../util').isValidAddress module.exports = connect(mapStateToProps)(CoinbaseForm) -function mapStateToProps(state) { +function mapStateToProps (state) { return { selectedAccount: state.selectedAccount, warning: state.appState.warning, @@ -16,7 +16,7 @@ function mapStateToProps(state) { inherits(CoinbaseForm, Component) -function CoinbaseForm() { +function CoinbaseForm () { Component.call(this) } @@ -124,7 +124,6 @@ CoinbaseForm.prototype.toCoinbase = function () { } CoinbaseForm.prototype.renderLoading = function () { - return h('img', { style: { width: '27px', @@ -134,9 +133,8 @@ CoinbaseForm.prototype.renderLoading = function () { }) } -function isValidAmountforCoinBase(amount) { +function isValidAmountforCoinBase (amount) { amount = parseFloat(amount) - if (amount) { if (amount <= 5 && amount > 0) { return { |