about summary refs log tree commit diff
path: root/app/javascript/themes/glitch/features/ui/containers/notifications_container.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/themes/glitch/features/ui/containers/notifications_container.js')
-rw-r--r--app/javascript/themes/glitch/features/ui/containers/notifications_container.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/app/javascript/themes/glitch/features/ui/containers/notifications_container.js b/app/javascript/themes/glitch/features/ui/containers/notifications_container.js
deleted file mode 100644
index 5bd4017f5..000000000
--- a/app/javascript/themes/glitch/features/ui/containers/notifications_container.js
+++ /dev/null
@@ -1,18 +0,0 @@
-import { connect } from 'react-redux';
-import { NotificationStack } from 'react-notification';
-import { dismissAlert } from 'themes/glitch/actions/alerts';
-import { getAlerts } from 'themes/glitch/selectors';
-
-const mapStateToProps = state => ({
-  notifications: getAlerts(state),
-});
-
-const mapDispatchToProps = (dispatch) => {
-  return {
-    onDismiss: alert => {
-      dispatch(dismissAlert(alert));
-    },
-  };
-};
-
-export default connect(mapStateToProps, mapDispatchToProps)(NotificationStack);