From 771f9ec124c758556ebba11067e66c9d4843455d Mon Sep 17 00:00:00 2001 From: sdtsui Date: Thu, 10 Aug 2017 17:37:55 -0700 Subject: Fix logic for dropdown components attaching checkmark to correct account --- ui/app/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui/app/app.js') diff --git a/ui/app/app.js b/ui/app/app.js index 4565bdd37..60d36772a 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -43,6 +43,7 @@ function mapStateToProps (state) { accounts, address, } = state.metamask + console.log("ADDRESS:", address) const selected = address || Object.keys(accounts)[0] return { @@ -185,7 +186,7 @@ App.prototype.renderAppBar = function () { style: {}, enableAccountsSelector: true, identities: this.props.identities, - selected: this.props.selected, + selected: this.props.currentView.context, network: this.props.network, }, []), -- cgit