diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-08-17 08:50:51 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-08-17 08:50:51 +0800 |
commit | dfaac78e39ef1bd06e224ab56e493b4fa3201bef (patch) | |
tree | 417d0856a1e1d2d294ec39a5bcef03dadbbd4c6f /ui/app/reducers | |
parent | a167bbc5a0f29568ec8e53ecdd942724aa15604b (diff) | |
download | tangerine-wallet-browser-dfaac78e39ef1bd06e224ab56e493b4fa3201bef.tar tangerine-wallet-browser-dfaac78e39ef1bd06e224ab56e493b4fa3201bef.tar.gz tangerine-wallet-browser-dfaac78e39ef1bd06e224ab56e493b4fa3201bef.tar.bz2 tangerine-wallet-browser-dfaac78e39ef1bd06e224ab56e493b4fa3201bef.tar.lz tangerine-wallet-browser-dfaac78e39ef1bd06e224ab56e493b4fa3201bef.tar.xz tangerine-wallet-browser-dfaac78e39ef1bd06e224ab56e493b4fa3201bef.tar.zst tangerine-wallet-browser-dfaac78e39ef1bd06e224ab56e493b4fa3201bef.zip |
Linted
Diffstat (limited to 'ui/app/reducers')
-rw-r--r-- | ui/app/reducers/app.js | 11 |
1 files changed, 4 insertions, 7 deletions
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, |