You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
508 B
18 lines
508 B
import { connect } from 'react-redux';
|
|
import ColumnsArea from '../components/columns_area';
|
|
import { openModal } from 'flavours/glitch/actions/modal';
|
|
|
|
const mapStateToProps = state => ({
|
|
columns: state.getIn(['settings', 'columns']),
|
|
});
|
|
|
|
const mapDispatchToProps = dispatch => ({
|
|
openSettings (e) {
|
|
e.preventDefault();
|
|
e.stopPropagation();
|
|
dispatch(openModal('SETTINGS', {}));
|
|
},
|
|
});
|
|
|
|
export default connect(mapStateToProps, mapDispatchToProps, null, { forwardRef: true })(ColumnsArea);
|