aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/reducers/app.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js
index 6f633ab4e..7595c60b3 100644
--- a/ui/app/reducers/app.js
+++ b/ui/app/reducers/app.js
@@ -1,7 +1,9 @@
const extend = require('xtend')
const actions = require('../actions')
const txHelper = require('../../lib/tx-helper')
-const notification = require('../../../app/scripts/lib/notification-manager')
+const NotificationManager = require('../../../app/scripts/lib/notification-manager')
+
+const notificationManager = new NotificationManager()
module.exports = reduceApp
@@ -332,7 +334,7 @@ function reduceApp (state, action) {
})
} else {
log.debug('attempting to close popup')
- notification.closePopup()
+ notificationManager.closePopup()
return extend(appState, {
transForward: false,