You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
379 B
JavaScript
17 lines
379 B
JavaScript
import { connect } from 'react-redux';
|
|
|
|
import selectors from '../selectors';
|
|
import Fixed from '../components/Fixed';
|
|
|
|
const mapStateToProps = (state) => {
|
|
const { projectId } = selectors.selectPath(state);
|
|
const currentBoard = selectors.selectCurrentBoard(state);
|
|
|
|
return {
|
|
projectId,
|
|
board: currentBoard,
|
|
};
|
|
};
|
|
|
|
export default connect(mapStateToProps)(Fixed);
|