diff options
Diffstat (limited to 'ui/app/selectors.js')
-rw-r--r-- | ui/app/selectors.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/selectors.js b/ui/app/selectors.js index 9a8bf5c7e..fdbc5fcde 100644 --- a/ui/app/selectors.js +++ b/ui/app/selectors.js @@ -13,7 +13,7 @@ module.exports = selectors function getSelectedAddress (state) { // TODO: accounts is not defined. Is it needed? - const selectedAddress = state.metamask.selectedAddress || Object.keys(accounts)[0] + const selectedAddress = state.metamask.selectedAddress || Object.keys(state.metamask.accounts)[0] return selectedAddress } |