From 38dd85daab8e8342ec608d24cf81254c0dfde95c Mon Sep 17 00:00:00 2001
From: Eugen Rochko <eugen@zeonfederated.com>
Date: Sun, 20 Nov 2016 19:39:18 +0100
Subject: Adding notifications column

---
 .../features/ui/containers/notifications_container.jsx | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

(limited to 'app/assets/javascripts/components/features/ui/containers/notifications_container.jsx')

diff --git a/app/assets/javascripts/components/features/ui/containers/notifications_container.jsx b/app/assets/javascripts/components/features/ui/containers/notifications_container.jsx
index eb12989e5..529ebf6c8 100644
--- a/app/assets/javascripts/components/features/ui/containers/notifications_container.jsx
+++ b/app/assets/javascripts/components/features/ui/containers/notifications_container.jsx
@@ -1,19 +1,19 @@
-import { connect }             from 'react-redux';
-import { NotificationStack }   from 'react-notification';
+import { connect } from 'react-redux';
+import { NotificationStack } from 'react-notification';
 import {
-  dismissNotification,
-  clearNotifications
-}                              from '../../../actions/notifications';
-import { getNotifications }    from '../../../selectors';
+  dismissAlert,
+  clearAlerts
+} from '../../../actions/alerts';
+import { getAlerts } from '../../../selectors';
 
 const mapStateToProps = (state, props) => ({
-  notifications: getNotifications(state)
+  notifications: getAlerts(state)
 });
 
 const mapDispatchToProps = (dispatch) => {
   return {
-    onDismiss: notifiction => {
-      dispatch(dismissNotification(notifiction));
+    onDismiss: alert => {
+      dispatch(dismissAlert(alert));
     }
   };
 };
-- 
cgit 

