mirror of
https://github.com/plankanban/planka.git
synced 2025-12-25 01:11:49 +03:00
17 lines
385 B
JavaScript
Executable File
17 lines
385 B
JavaScript
Executable File
import { connect } from 'react-redux';
|
|
|
|
import selectors from '../selectors';
|
|
import Core from '../components/Core';
|
|
|
|
const mapStateToProps = (state) => {
|
|
const currentModal = selectors.selectCurrentModal(state);
|
|
const currentProject = selectors.selectCurrentProject(state);
|
|
|
|
return {
|
|
currentModal,
|
|
currentProject,
|
|
};
|
|
};
|
|
|
|
export default connect(mapStateToProps)(Core);
|