|
|
@ -43,6 +43,7 @@ function mapStateToProps (state) { |
|
|
|
accounts, |
|
|
|
accounts, |
|
|
|
address, |
|
|
|
address, |
|
|
|
} = state.metamask |
|
|
|
} = state.metamask |
|
|
|
|
|
|
|
console.log("ADDRESS:", address) |
|
|
|
const selected = address || Object.keys(accounts)[0] |
|
|
|
const selected = address || Object.keys(accounts)[0] |
|
|
|
|
|
|
|
|
|
|
|
return { |
|
|
|
return { |
|
|
@ -185,7 +186,7 @@ App.prototype.renderAppBar = function () { |
|
|
|
style: {}, |
|
|
|
style: {}, |
|
|
|
enableAccountsSelector: true, |
|
|
|
enableAccountsSelector: true, |
|
|
|
identities: this.props.identities, |
|
|
|
identities: this.props.identities, |
|
|
|
selected: this.props.selected, |
|
|
|
selected: this.props.currentView.context, |
|
|
|
network: this.props.network, |
|
|
|
network: this.props.network, |
|
|
|
}, []), |
|
|
|
}, []), |
|
|
|
|
|
|
|
|
|
|
|