0
0
instrumental/app/javascript/mastodon/features/ui/containers/columns_area_container.js
2023-05-23 17:15:17 +02:00

11 lines
320 B
JavaScript

import { connect } from 'react-redux';
import ColumnsArea from '../components/columns_area';
const mapStateToProps = state => ({
columns: state.getIn(['settings', 'columns']),
isModalOpen: !!state.get('modal').modalType,
});
export default connect(mapStateToProps, null, null, { forwardRef: true })(ColumnsArea);