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