From 8fde8a8921135112ccfdd13ce6b009755b5f71ed Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 21 Jun 2016 13:56:04 -0700 Subject: Manually linted --- ui/app/reducers/app.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ui/app/reducers/app.js') 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', -- cgit v1.2.3