mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 13:19:44 +02:00
16 lines
339 B
JavaScript
16 lines
339 B
JavaScript
import { connect } from 'react-redux';
|
|
|
|
import selectors from '../selectors';
|
|
import Static from '../components/Static';
|
|
|
|
const mapStateToProps = (state) => {
|
|
const { cardId, boardId, projectId } = selectors.selectPath(state);
|
|
|
|
return {
|
|
cardId,
|
|
boardId,
|
|
projectId,
|
|
};
|
|
};
|
|
|
|
export default connect(mapStateToProps)(Static);
|