1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-24 07:39:44 +02:00
planka/client/src/containers/CoreContainer.js
2022-08-04 13:31:14 +02:00

16 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);