aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorJared Pereira <jared@otlw.co>2017-04-24 01:18:14 +0800
committerJared Pereira <jared@otlw.co>2017-04-24 01:45:55 +0800
commit5cabd3e02d0eeef8bd7c65db193b0bdb8cc9cc04 (patch)
tree85792fc04dfa5dbd29d709c9d7b42ebe0011b668 /ui/app/components
parentc1df7dedd9065c8fe600642638e0e0a5d71e6f6e (diff)
downloadtangerine-wallet-browser-5cabd3e02d0eeef8bd7c65db193b0bdb8cc9cc04.tar
tangerine-wallet-browser-5cabd3e02d0eeef8bd7c65db193b0bdb8cc9cc04.tar.gz
tangerine-wallet-browser-5cabd3e02d0eeef8bd7c65db193b0bdb8cc9cc04.tar.bz2
tangerine-wallet-browser-5cabd3e02d0eeef8bd7c65db193b0bdb8cc9cc04.tar.lz
tangerine-wallet-browser-5cabd3e02d0eeef8bd7c65db193b0bdb8cc9cc04.tar.xz
tangerine-wallet-browser-5cabd3e02d0eeef8bd7c65db193b0bdb8cc9cc04.tar.zst
tangerine-wallet-browser-5cabd3e02d0eeef8bd7c65db193b0bdb8cc9cc04.zip
remove updateBuyAddress action
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/coinbase-form.js4
-rw-r--r--ui/app/components/shapeshift-form.js4
2 files changed, 1 insertions, 7 deletions
diff --git a/ui/app/components/coinbase-form.js b/ui/app/components/coinbase-form.js
index b92799375..82d1458bf 100644
--- a/ui/app/components/coinbase-form.js
+++ b/ui/app/components/coinbase-form.js
@@ -48,9 +48,7 @@ CoinbaseForm.prototype.render = function () {
CoinbaseForm.prototype.handleAmount = function (event) {
this.props.dispatch(actions.updateCoinBaseAmount(event.target.value))
}
-CoinbaseForm.prototype.handleAddress = function (event) {
- this.props.dispatch(actions.updateBuyAddress(event.target.value))
-}
+
CoinbaseForm.prototype.toCoinbase = function () {
const props = this.props
const address = props.buyView.buyAddress
diff --git a/ui/app/components/shapeshift-form.js b/ui/app/components/shapeshift-form.js
index 2745b1b11..f0a067c05 100644
--- a/ui/app/components/shapeshift-form.js
+++ b/ui/app/components/shapeshift-form.js
@@ -276,10 +276,6 @@ ShapeshiftForm.prototype.renderInfo = function () {
])
}
-ShapeshiftForm.prototype.handleAddress = function (event) {
- this.props.dispatch(actions.updateBuyAddress(event.target.value))
-}
-
ShapeshiftForm.prototype.activeToggle = function (elementType) {
if (!this.props.buyView.formView.response || this.props.warning) return elementType
return `${elementType}.inactive`