aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-03-31 10:05:11 +0800
committerkumavis <aaron@kumavis.me>2017-03-31 10:05:11 +0800
commitbd704b1d7e7208fe1989bd7dde6ab81cb39bbfcc (patch)
treeb217f4b5353ed21169a33603e4690a6d7da4b289 /ui/app/reducers
parentf9e09d23002c38bc441e5216304883ccb1c3d6df (diff)
downloadtangerine-wallet-browser-bd704b1d7e7208fe1989bd7dde6ab81cb39bbfcc.tar
tangerine-wallet-browser-bd704b1d7e7208fe1989bd7dde6ab81cb39bbfcc.tar.gz
tangerine-wallet-browser-bd704b1d7e7208fe1989bd7dde6ab81cb39bbfcc.tar.bz2
tangerine-wallet-browser-bd704b1d7e7208fe1989bd7dde6ab81cb39bbfcc.tar.lz
tangerine-wallet-browser-bd704b1d7e7208fe1989bd7dde6ab81cb39bbfcc.tar.xz
tangerine-wallet-browser-bd704b1d7e7208fe1989bd7dde6ab81cb39bbfcc.tar.zst
tangerine-wallet-browser-bd704b1d7e7208fe1989bd7dde6ab81cb39bbfcc.zip
etc - fix notification-manager ref, remove duplicated test file
Diffstat (limited to 'ui/app/reducers')
-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,