aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-23 06:24:48 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-23 06:24:48 +0800
commit9dce1b6fd5cdf8e5e14240bbcf1088f23e92c285 (patch)
tree89f0952cd2ff75fa78b02f663ba3bd942d9e5381
parent5893f2fd19bdab10a017c56202f5fe0cf440d29e (diff)
downloadtangerine-wallet-browser-9dce1b6fd5cdf8e5e14240bbcf1088f23e92c285.tar
tangerine-wallet-browser-9dce1b6fd5cdf8e5e14240bbcf1088f23e92c285.tar.gz
tangerine-wallet-browser-9dce1b6fd5cdf8e5e14240bbcf1088f23e92c285.tar.bz2
tangerine-wallet-browser-9dce1b6fd5cdf8e5e14240bbcf1088f23e92c285.tar.lz
tangerine-wallet-browser-9dce1b6fd5cdf8e5e14240bbcf1088f23e92c285.tar.xz
tangerine-wallet-browser-9dce1b6fd5cdf8e5e14240bbcf1088f23e92c285.tar.zst
tangerine-wallet-browser-9dce1b6fd5cdf8e5e14240bbcf1088f23e92c285.zip
Remove fake transactions and balances from tx-list and wallet-view, respectively
-rw-r--r--ui/app/components/tx-list.js38
-rw-r--r--ui/app/components/wallet-view.js42
2 files changed, 10 insertions, 70 deletions
diff --git a/ui/app/components/tx-list.js b/ui/app/components/tx-list.js
index 74d46728c..30e38b4d7 100644
--- a/ui/app/components/tx-list.js
+++ b/ui/app/components/tx-list.js
@@ -52,44 +52,6 @@ TxList.prototype.render = function () {
this.renderTransactionListItem(),
- contentDivider,
-
- this.renderTransactionListItem(),
-
- contentDivider,
-
- this.renderTransactionListItem(),
-
- contentDivider,
-
- this.renderTransactionListItem(),
-
- contentDivider,
-
- this.renderTransactionListItem(),
-
- contentDivider,
-
- this.renderTransactionListItem(),
-
- contentDivider,
-
- this.renderTransactionListItem(),
-
- contentDivider,
-
- this.renderTransactionListItem(),
-
- contentDivider,
-
- this.renderTransactionListItem(),
-
- contentDivider,
-
- this.renderTransactionListItem(),
-
- contentDivider,
-
])
}
diff --git a/ui/app/components/wallet-view.js b/ui/app/components/wallet-view.js
index 9fe827da2..59859a8e0 100644
--- a/ui/app/components/wallet-view.js
+++ b/ui/app/components/wallet-view.js
@@ -43,15 +43,6 @@ WalletView.prototype.render = function () {
// temporary logs + fake extra wallets
console.log("walletview, selectedAccount:", selectedAccount)
- const extraWallet = h('div.flex-column.wallet-balance-wrapper', {}, [
- h('div.wallet-balance', {}, [
- h(BalanceComponent, {
- balanceValue: selectedAccount.balance,
- style: {},
- }),
- ]),
- ])
-
return h('div.wallet-view.flex-column' + (responsiveDisplayClassname || ''), {
style: {},
}, [
@@ -148,28 +139,15 @@ WalletView.prototype.render = function () {
]),
- h('div.flex-column.wallet-balance-wrapper', {}, [
-
- h('div.wallet-balance', {}, [
-
- h(BalanceComponent, {
- balanceValue: selectedAccount.balance,
- style: {},
- }),
-
- ]),
-
- ]),
-
- extraWallet,
- extraWallet,
- extraWallet,
- extraWallet,
- extraWallet,
- extraWallet,
- extraWallet,
- extraWallet,
- extraWallet,
- extraWallet,
])
}
+
+// TODO: Extra wallets, for dev testing. Remove when PRing to master.
+// const extraWallet = h('div.flex-column.wallet-balance-wrapper', {}, [
+// h('div.wallet-balance', {}, [
+// h(BalanceComponent, {
+// balanceValue: selectedAccount.balance,
+// style: {},
+// }),
+// ]),
+// ])