Fix settings checkboxes

merge-requests/627/head
Sean King 3 years ago
parent 6346b996ab
commit 63115b70da
No known key found for this signature in database
GPG Key ID: 510C52BACD6E7257

@ -3,11 +3,11 @@ import { connect } from 'react-redux';
import ImmutablePureComponent from 'react-immutable-pure-component';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import { changeSetting } from 'soapbox/actions/settings';
import { getSettings, changeSetting } from 'soapbox/actions/settings';
import { Checkbox } from 'soapbox/features/forms';
const mapStateToProps = state => ({
settings: state.get('settings'),
settings: getSettings(state),
});
export default @connect(mapStateToProps)

Loading…
Cancel
Save