mirror of
https://github.com/plankanban/planka.git
synced 2025-07-22 14:49:43 +02:00
Prepare for collection board type, refactoring, update dependencies
This commit is contained in:
parent
2d92ade8dc
commit
c6ee7d54bb
190 changed files with 2144 additions and 1817 deletions
|
@ -1,21 +0,0 @@
|
|||
import { bindActionCreators } from 'redux';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { closeModal, createProject } from '../actions/entry';
|
||||
import AddProjectModal from '../components/AddProjectModal';
|
||||
|
||||
const mapStateToProps = ({ projectCreateForm: { data: defaultData, isSubmitting } }) => ({
|
||||
defaultData,
|
||||
isSubmitting,
|
||||
});
|
||||
|
||||
const mapDispatchToProps = (dispatch) =>
|
||||
bindActionCreators(
|
||||
{
|
||||
onCreate: createProject,
|
||||
onClose: closeModal,
|
||||
},
|
||||
dispatch,
|
||||
);
|
||||
|
||||
export default connect(mapStateToProps, mapDispatchToProps)(AddProjectModal);
|
Loading…
Add table
Add a link
Reference in a new issue