forked from treehouse/mastodon
10 lines
316 B
JavaScript
10 lines
316 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, { withRef: true })(ColumnsArea);
|