aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/tx-view.js
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-11 10:35:10 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-11 10:35:10 +0800
commit96b186dfb2a96561d6a0ba50846cd610c484b688 (patch)
tree76cd728e56aec3b2c91059faa7fb79bab25ae178 /ui/app/components/tx-view.js
parent77b72ee33f1a8384a673b03969426a94d07914ee (diff)
downloadtangerine-wallet-browser-96b186dfb2a96561d6a0ba50846cd610c484b688.tar
tangerine-wallet-browser-96b186dfb2a96561d6a0ba50846cd610c484b688.tar.gz
tangerine-wallet-browser-96b186dfb2a96561d6a0ba50846cd610c484b688.tar.bz2
tangerine-wallet-browser-96b186dfb2a96561d6a0ba50846cd610c484b688.tar.lz
tangerine-wallet-browser-96b186dfb2a96561d6a0ba50846cd610c484b688.tar.xz
tangerine-wallet-browser-96b186dfb2a96561d6a0ba50846cd610c484b688.tar.zst
tangerine-wallet-browser-96b186dfb2a96561d6a0ba50846cd610c484b688.zip
Cleanup txList and txView components
Diffstat (limited to 'ui/app/components/tx-view.js')
-rw-r--r--ui/app/components/tx-view.js16
1 files changed, 2 insertions, 14 deletions
diff --git a/ui/app/components/tx-view.js b/ui/app/components/tx-view.js
index ba93aae8b..0d1f3fc31 100644
--- a/ui/app/components/tx-view.js
+++ b/ui/app/components/tx-view.js
@@ -4,18 +4,11 @@ const h = require('react-hyperscript')
const ethUtil = require('ethereumjs-util')
const inherits = require('util').inherits
const actions = require('../actions')
-// slideout menu
-const WalletView = require('./wallet-view')
-// balance component
+const WalletView = require('./wallet-view')
const BalanceComponent = require('./balance-component')
-
-// tx list
const TxList = require('./tx-list')
-
const Identicon = require('./identicon')
-// const AccountDropdowns = require('./account-dropdowns').AccountDropdowns
-// const Content = require('./wallet-content-display')
module.exports = connect(mapStateToProps, mapDispatchToProps)(TxView)
@@ -68,14 +61,13 @@ TxView.prototype.render = function () {
this.props.sidebarOpen ? this.props.hideSidebar() : this.props.showSidebar()
},
}, [
- // burger
+
h('div.fa.fa-bars', {
style: {
fontSize: '1.3em',
},
}, []),
- // account display
h('.identicon-wrapper.select-none', {
style: {
marginLeft: '0.9em',
@@ -95,8 +87,6 @@ TxView.prototype.render = function () {
]),
- // laptop: flex-row, flex-center
- // mobile: flex-column
h('div.hero-balance', {
style: {},
}, [
@@ -106,8 +96,6 @@ TxView.prototype.render = function () {
style: {},
}),
- // laptop: 10vw?
- // phone: 75vw?
h('div.flex-row.flex-center.hero-balance-buttons', {
style: {},
}, [