aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-08-17 08:50:51 +0800
committerDan Finlay <dan@danfinlay.com>2016-08-17 08:50:51 +0800
commitdfaac78e39ef1bd06e224ab56e493b4fa3201bef (patch)
tree417d0856a1e1d2d294ec39a5bcef03dadbbd4c6f /ui/app/reducers
parenta167bbc5a0f29568ec8e53ecdd942724aa15604b (diff)
downloadtangerine-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.js11
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,