From dfaac78e39ef1bd06e224ab56e493b4fa3201bef Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 16 Aug 2016 17:50:51 -0700 Subject: Linted --- ui/app/reducers/app.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'ui') diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js index cbf64bf95..deebf02be 100644 --- a/ui/app/reducers/app.js +++ b/ui/app/reducers/app.js @@ -254,14 +254,11 @@ function reduceApp (state, action) { const isNotification = window.METAMASK_UI_TYPE === 'notification' if (isNotification) { - return extension.windows.getCurrent({}, function(win) { - extension.windows.remove(win.id, function(err) { - if (err) console.err(err) - }) - }) - } else { - debugger + extension.windows.getCurrent({}, (win) => { + extension.windows.remove(win.id, console.error) + }) } + return extend(appState, { transForward: false, warning: null, -- cgit