about summary refs log tree commit diff
path: root/app/assets/javascripts/components/containers/status_list_container.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/components/containers/status_list_container.jsx')
-rw-r--r--app/assets/javascripts/components/containers/status_list_container.jsx29
1 files changed, 0 insertions, 29 deletions
diff --git a/app/assets/javascripts/components/containers/status_list_container.jsx b/app/assets/javascripts/components/containers/status_list_container.jsx
deleted file mode 100644
index a4fba95e1..000000000
--- a/app/assets/javascripts/components/containers/status_list_container.jsx
+++ /dev/null
@@ -1,29 +0,0 @@
-import { connect }           from 'react-redux';
-import StatusList            from '../components/status_list';
-import { replyCompose }      from '../actions/compose';
-import { reblog, favourite } from '../actions/interactions';
-import { selectStatus }      from '../reducers/timelines';
-
-const mapStateToProps = function (state, props) {
-  return {
-    statuses: state.getIn(['timelines', props.type]).map(id => selectStatus(state, id))
-  };
-};
-
-const mapDispatchToProps = function (dispatch) {
-  return {
-    onReply: function (status) {
-      dispatch(replyCompose(status));
-    },
-
-    onFavourite: function (status) {
-      dispatch(favourite(status));
-    },
-
-    onReblog: function (status) {
-      dispatch(reblog(status));
-    }
-  };
-};
-
-export default connect(mapStateToProps, mapDispatchToProps)(StatusList);