summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/nfvo-components/notification/Notifications.js
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/src/nfvo-components/notification/Notifications.js')
-rw-r--r--openecomp-ui/src/nfvo-components/notification/Notifications.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/openecomp-ui/src/nfvo-components/notification/Notifications.js b/openecomp-ui/src/nfvo-components/notification/Notifications.js
index 046412a68d..d1ece699a8 100644
--- a/openecomp-ui/src/nfvo-components/notification/Notifications.js
+++ b/openecomp-ui/src/nfvo-components/notification/Notifications.js
@@ -17,7 +17,7 @@
import React from 'react';
import { Portal, Notification } from 'sdc-ui/lib/react/';
import { connect } from 'react-redux';
-import { removeNotification } from './NotificationsConstants.js';
+import { notificationActions } from './NotificationsConstants.js';
import { CSSTransition, TransitionGroup } from 'react-transition-group';
export const mapStateToProps = ({ popupNotifications = [] }) => {
@@ -29,7 +29,7 @@ export const mapStateToProps = ({ popupNotifications = [] }) => {
const mapActionToProps = dispatch => {
return {
onClick: item => {
- dispatch(removeNotification(item));
+ dispatch(notificationActions.removeNotification(item));
}
};
};