aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app')
-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,