From bd704b1d7e7208fe1989bd7dde6ab81cb39bbfcc Mon Sep 17 00:00:00 2001 From: kumavis Date: Thu, 30 Mar 2017 19:05:11 -0700 Subject: etc - fix notification-manager ref, remove duplicated test file --- ui/app/reducers/app.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ui/app/reducers') 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, -- cgit