aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/account-detail.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/account-detail.js
parentedf4e2bc5b5964446104b8ab4a7d6eae2d0ed0cd (diff)
downloadtangerine-wallet-browser-a9fc4f452f7adaac7c16806d0c917d2515dcf605.tar
tangerine-wallet-browser-a9fc4f452f7adaac7c16806d0c917d2515dcf605.tar.gz
tangerine-wallet-browser-a9fc4f452f7adaac7c16806d0c917d2515dcf605.tar.bz2
tangerine-wallet-browser-a9fc4f452f7adaac7c16806d0c917d2515dcf605.tar.lz
tangerine-wallet-browser-a9fc4f452f7adaac7c16806d0c917d2515dcf605.tar.xz
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/account-detail.js')
-rw-r--r--ui/app/account-detail.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js
index 10c33c2bc..06ef6ff02 100644
--- a/ui/app/account-detail.js
+++ b/ui/app/account-detail.js
@@ -58,7 +58,8 @@ AccountDetailScreen.prototype.render = function() {
showFullAddress: true,
identity: identity,
account: account,
- }, []),
+ key: 'accountPanel'
+ }),
h('div', {
style: {