diff options
Manually linted
Diffstat (limited to 'ui/app/reducers/app.js')
-rw-r--r-- | ui/app/reducers/app.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js index 5ad6d82c3..f45be0433 100644 --- a/ui/app/reducers/app.js +++ b/ui/app/reducers/app.js @@ -1,6 +1,5 @@ const extend = require('xtend') const actions = require('../actions') -const valuesFor = require('../util').valuesFor const txHelper = require('../../lib/tx-helper') module.exports = reduceApp @@ -180,7 +179,7 @@ function reduceApp (state, action) { return extend(appState, { currentView: { name: 'accountDetail', - context: action.value || account, + context: action.value, }, accountDetail: { subview: 'transactions', @@ -205,7 +204,6 @@ function reduceApp (state, action) { }) case actions.SHOW_ACCOUNTS_PAGE: - var seedWords = state.metamask.seedWords return extend(appState, { currentView: { name: seedWords ? 'createVaultComplete' : 'accounts', |