mirror of
https://github.com/plankanban/planka.git
synced 2025-12-26 17:25:03 +03:00
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);
|