diff options
author | Jared Pereira <jared@otlw.co> | 2017-04-23 19:28:45 +0800 |
---|---|---|
committer | Jared Pereira <jared@otlw.co> | 2017-04-23 19:28:45 +0800 |
commit | 7a8496f9da894bf8821e91746b33f53fe23cf150 (patch) | |
tree | 06d72d3794679c8da0afea7bf97255b777db8508 /ui/app | |
parent | e543050868b58ea1a1b0cad363d763eab2ade25d (diff) | |
download | tangerine-wallet-browser-7a8496f9da894bf8821e91746b33f53fe23cf150.tar tangerine-wallet-browser-7a8496f9da894bf8821e91746b33f53fe23cf150.tar.gz tangerine-wallet-browser-7a8496f9da894bf8821e91746b33f53fe23cf150.tar.bz2 tangerine-wallet-browser-7a8496f9da894bf8821e91746b33f53fe23cf150.tar.lz tangerine-wallet-browser-7a8496f9da894bf8821e91746b33f53fe23cf150.tar.xz tangerine-wallet-browser-7a8496f9da894bf8821e91746b33f53fe23cf150.tar.zst tangerine-wallet-browser-7a8496f9da894bf8821e91746b33f53fe23cf150.zip |
remove buyButtonDeligator function
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/account-detail.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js index 018e74893..d4b371947 100644 --- a/ui/app/account-detail.js +++ b/ui/app/account-detail.js @@ -262,15 +262,3 @@ AccountDetailScreen.prototype.transactionList = function () { AccountDetailScreen.prototype.requestAccountExport = function () { this.props.dispatch(actions.requestExportAccount()) } - - -AccountDetailScreen.prototype.buyButtonDeligator = function () { - var props = this.props - var selected = props.address || Object.keys(props.accounts)[0] - - if (this.props.accountDetail.subview === 'buyForm') { - props.dispatch(actions.backToAccountDetail(props.address)) - } else { - props.dispatch(actions.buyEthView(selected)) - } -} |