From a9fc4f452f7adaac7c16806d0c917d2515dcf605 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Fri, 6 May 2016 14:24:01 -0700 Subject: 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. --- ui/app/account-detail.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui/app/account-detail.js') 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: { -- cgit v1.2.3