diff options
Diffstat (limited to 'app/assets/javascripts/components/features/home_timeline/containers')
-rw-r--r-- | app/assets/javascripts/components/features/home_timeline/containers/column_settings_container.jsx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/app/assets/javascripts/components/features/home_timeline/containers/column_settings_container.jsx b/app/assets/javascripts/components/features/home_timeline/containers/column_settings_container.jsx deleted file mode 100644 index 3b3ce19bc..000000000 --- a/app/assets/javascripts/components/features/home_timeline/containers/column_settings_container.jsx +++ /dev/null @@ -1,21 +0,0 @@ -import { connect } from 'react-redux'; -import ColumnSettings from '../components/column_settings'; -import { changeSetting, saveSettings } from '../../../actions/settings'; - -const mapStateToProps = state => ({ - settings: state.getIn(['settings', 'home']) -}); - -const mapDispatchToProps = dispatch => ({ - - onChange (key, checked) { - dispatch(changeSetting(['home', ...key], checked)); - }, - - onSave () { - dispatch(saveSettings()); - } - -}); - -export default connect(mapStateToProps, mapDispatchToProps)(ColumnSettings); |