aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/transaction-list.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-05-07 05:24:01 +0800
committerDan Finlay <dan@danfinlay.com>2016-05-07 05:24:01 +0800
commita9fc4f452f7adaac7c16806d0c917d2515dcf605 (patch)
tree6a1bba8ab5dd8b89c9b672c7e61a8c6c6bfd0854 /ui/app/components/transaction-list.js
parentedf4e2bc5b5964446104b8ab4a7d6eae2d0ed0cd (diff)
downloadtangerine-wallet-browser-a9fc4f452f7adaac7c16806d0c917d2515dcf605.tar.gz
tangerine-wallet-browser-a9fc4f452f7adaac7c16806d0c917d2515dcf605.tar.zst
tangerine-wallet-browser-a9fc4f452f7adaac7c16806d0c917d2515dcf605.zip
Move account panel style into reusable component
The styles that defined the `account-panel` component now belong to the `panel` component, which is now used by the `account-panel` component for its styles. It accepts an optional `onClick` property that it will fire when clicked! Planning to use it for the tx-list.
Diffstat (limited to 'ui/app/components/transaction-list.js')
-rw-r--r--ui/app/components/transaction-list.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/components/transaction-list.js b/ui/app/components/transaction-list.js
index 115fd91f8..c5a86f082 100644
--- a/ui/app/components/transaction-list.js
+++ b/ui/app/components/transaction-list.js
@@ -16,7 +16,9 @@ module.exports = function(transactions, network) {
h('div.font-small', {style: {display: 'inline'}}, 'Transactions'),
transactions.map((transaction) => {
- return h('.tx.flex-row.flex-space-around', [
+ return h('.tx.flex-row.flex-space-around', {
+ key: `listed-tx-${transaction.hash}`,
+ }, [
h('a.font-small',
{
href: explorerLink(transaction.hash, parseInt(network)),