|
|
|
@ -16,7 +16,6 @@ const ExportAccountView = require('./components/account-export') |
|
|
|
|
const ethUtil = require('ethereumjs-util') |
|
|
|
|
const EditableLabel = require('./components/editable-label') |
|
|
|
|
const Tooltip = require('./components/tooltip') |
|
|
|
|
const BuyButtonSubview = require('./components/buy-button-subview') |
|
|
|
|
module.exports = connect(mapStateToProps)(AccountDetailScreen) |
|
|
|
|
|
|
|
|
|
function mapStateToProps (state) { |
|
|
|
@ -238,8 +237,6 @@ AccountDetailScreen.prototype.subview = function () { |
|
|
|
|
case 'export': |
|
|
|
|
var state = extend({key: 'export'}, this.props) |
|
|
|
|
return h(ExportAccountView, state) |
|
|
|
|
case 'buyForm': |
|
|
|
|
return h(BuyButtonSubview, extend({key: 'buyForm'}, this.props)) |
|
|
|
|
default: |
|
|
|
|
return this.transactionList() |
|
|
|
|
} |
|
|
|
|