mirror of
https://github.com/plankanban/planka.git
synced 2025-12-27 17:25:02 +03:00
ref: Refactoring
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { bindActionCreators } from 'redux';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { closeModal, createProject } from '../actions/entry';
|
||||
import entryActions from '../entry-actions';
|
||||
import ProjectAddModal from '../components/ProjectAddModal';
|
||||
|
||||
const mapStateToProps = ({
|
||||
@@ -16,8 +16,8 @@ const mapStateToProps = ({
|
||||
const mapDispatchToProps = (dispatch) =>
|
||||
bindActionCreators(
|
||||
{
|
||||
onCreate: createProject,
|
||||
onClose: closeModal,
|
||||
onCreate: entryActions.createProject,
|
||||
onClose: entryActions.closeModal,
|
||||
},
|
||||
dispatch,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user