aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/coinbase-form.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2016-11-18 06:27:34 +0800
committerGitHub <noreply@github.com>2016-11-18 06:27:34 +0800
commit6400eb8453c173e04e59d7990bd2c79afb3493be (patch)
treeecb311d43d0f77d5f5f0e82a0014a09c6381f0ef /ui/app/components/coinbase-form.js
parent115fdc36fefd33e4bf4a9e551dd6267d3d75f2c5 (diff)
parent4352c7031afb6f9a175b29d0addeb7ea48345676 (diff)
downloadtangerine-wallet-browser-6400eb8453c173e04e59d7990bd2c79afb3493be.tar.gz
tangerine-wallet-browser-6400eb8453c173e04e59d7990bd2c79afb3493be.tar.zst
tangerine-wallet-browser-6400eb8453c173e04e59d7990bd2c79afb3493be.zip
Merge pull request #816 from MetaMask/i328-MultiVault
Multi vault to Dev Branch
Diffstat (limited to 'ui/app/components/coinbase-form.js')
-rw-r--r--ui/app/components/coinbase-form.js8
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 {