46142a58d2
Commit c4a21aa352
scrolls the columns area
when the route changes since the user is likely to want to see the
rightmost column in such cases.
However, redirection is automatic and does not indicate users' intension.
Do not scroll the columns area due to one.
8 lines
269 B
JavaScript
8 lines
269 B
JavaScript
import { connect } from 'react-redux';
|
|
import ColumnsArea from '../components/columns_area';
|
|
|
|
const mapStateToProps = state => ({
|
|
columns: state.getIn(['settings', 'columns']),
|
|
});
|
|
|
|
export default connect(mapStateToProps, null, null, { withRef: true })(ColumnsArea);
|