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 { clearUserCreateError, createUser } from '../actions/entry';
|
||||
import entryActions from '../entry-actions';
|
||||
import UserAddPopup from '../components/UserAddPopup';
|
||||
|
||||
const mapStateToProps = ({
|
||||
@@ -17,8 +17,8 @@ const mapStateToProps = ({
|
||||
const mapDispatchToProps = (dispatch) =>
|
||||
bindActionCreators(
|
||||
{
|
||||
onCreate: createUser,
|
||||
onMessageDismiss: clearUserCreateError,
|
||||
onCreate: entryActions.createUser,
|
||||
onMessageDismiss: entryActions.clearUserCreateError,
|
||||
},
|
||||
dispatch,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user