aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers/app.js
diff options
context:
space:
mode:
authorFrankie <frankie.diamond@gmail.com>2017-04-24 18:14:43 +0800
committerGitHub <noreply@github.com>2017-04-24 18:14:43 +0800
commit2e75011778fdf0fdb407e328f79998f948ec1a82 (patch)
tree9eb5d87718435953f5c9042716f035ff5e7987df /ui/app/reducers/app.js
parentce03b7db51570295c7868382cf997dbb1bc5725a (diff)
parent7f12be6a014286d727766174bff9391b2cc55ae9 (diff)
downloadtangerine-wallet-browser-2e75011778fdf0fdb407e328f79998f948ec1a82.tar
tangerine-wallet-browser-2e75011778fdf0fdb407e328f79998f948ec1a82.tar.gz
tangerine-wallet-browser-2e75011778fdf0fdb407e328f79998f948ec1a82.tar.bz2
tangerine-wallet-browser-2e75011778fdf0fdb407e328f79998f948ec1a82.tar.lz
tangerine-wallet-browser-2e75011778fdf0fdb407e328f79998f948ec1a82.tar.xz
tangerine-wallet-browser-2e75011778fdf0fdb407e328f79998f948ec1a82.tar.zst
tangerine-wallet-browser-2e75011778fdf0fdb407e328f79998f948ec1a82.zip
Merge pull request #1335 from MetaMask/buyButtonRedoCleanUp
Buy button redo clean up
Diffstat (limited to 'ui/app/reducers/app.js')
-rw-r--r--ui/app/reducers/app.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js
index 6b040e988..324a4df35 100644
--- a/ui/app/reducers/app.js
+++ b/ui/app/reducers/app.js
@@ -470,7 +470,6 @@ function reduceApp (state, action) {
context: appState.currentView.name,
},
identity: state.metamask.identities[action.value],
- buyAddress: action.value,
buyView: {
subview: 'Coinbase',
amount: '15.00',
@@ -482,32 +481,6 @@ function reduceApp (state, action) {
},
})
- case actions.UPDATE_BUY_ADDRESS:
- return extend(appState, {
- buyView: {
- subview: appState.subview,
- formView: {
- coinbase: appState.buyView.formView.coinbase,
- shapeshift: appState.buyView.formView.shapeshift,
- },
- buyAddress: action.value,
- amount: appState.buyView.amount,
- },
- })
-
- 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: {