diff options
author | Jared Pereira <jared@otlw.co> | 2017-04-24 16:18:54 +0800 |
---|---|---|
committer | Jared Pereira <jared@otlw.co> | 2017-04-24 16:18:54 +0800 |
commit | 7f12be6a014286d727766174bff9391b2cc55ae9 (patch) | |
tree | 9eb5d87718435953f5c9042716f035ff5e7987df /ui | |
parent | 5cabd3e02d0eeef8bd7c65db193b0bdb8cc9cc04 (diff) | |
download | tangerine-wallet-browser-7f12be6a014286d727766174bff9391b2cc55ae9.tar tangerine-wallet-browser-7f12be6a014286d727766174bff9391b2cc55ae9.tar.gz tangerine-wallet-browser-7f12be6a014286d727766174bff9391b2cc55ae9.tar.bz2 tangerine-wallet-browser-7f12be6a014286d727766174bff9391b2cc55ae9.tar.lz tangerine-wallet-browser-7f12be6a014286d727766174bff9391b2cc55ae9.tar.xz tangerine-wallet-browser-7f12be6a014286d727766174bff9391b2cc55ae9.tar.zst tangerine-wallet-browser-7f12be6a014286d727766174bff9391b2cc55ae9.zip |
remove updateCoinBaseAmount action
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/actions.js | 9 | ||||
-rw-r--r-- | ui/app/components/coinbase-form.js | 3 | ||||
-rw-r--r-- | ui/app/reducers/app.js | 13 |
3 files changed, 0 insertions, 25 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index f08a93ff4..18f341411 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -134,8 +134,6 @@ var actions = { buyEth: buyEth, buyEthView: buyEthView, BUY_ETH_VIEW: 'BUY_ETH_VIEW', - UPDATE_COINBASE_AMOUNT: 'UPDATE_COIBASE_AMOUNT', - updateCoinBaseAmount: updateCoinBaseAmount, COINBASE_SUBVIEW: 'COINBASE_SUBVIEW', coinBaseSubview: coinBaseSubview, SHAPESHIFT_SUBVIEW: 'SHAPESHIFT_SUBVIEW', @@ -850,13 +848,6 @@ function buyEthView (address) { } } -function updateCoinBaseAmount (value) { - return { - type: actions.UPDATE_COINBASE_AMOUNT, - value, - } -} - function coinBaseSubview () { return { type: actions.COINBASE_SUBVIEW, diff --git a/ui/app/components/coinbase-form.js b/ui/app/components/coinbase-form.js index 82d1458bf..7ba8ca79e 100644 --- a/ui/app/components/coinbase-form.js +++ b/ui/app/components/coinbase-form.js @@ -45,9 +45,6 @@ CoinbaseForm.prototype.render = function () { ]), ]) } -CoinbaseForm.prototype.handleAmount = function (event) { - this.props.dispatch(actions.updateCoinBaseAmount(event.target.value)) -} CoinbaseForm.prototype.toCoinbase = function () { const props = this.props diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js index 016ddb569..324a4df35 100644 --- a/ui/app/reducers/app.js +++ b/ui/app/reducers/app.js @@ -481,19 +481,6 @@ function reduceApp (state, action) { }, }) - case actions.UPDATE_COINBASE_AMOUNT: - return extend(appState, { - buyView: { - subview: 'Coinbase', - formView: { - coinbase: true, - shapeshift: false, - }, - buyAddress: appState.buyView.buyAddress, - amount: action.value, - }, - }) - case actions.COINBASE_SUBVIEW: return extend(appState, { buyView: { |