mirror of
https://github.com/plankanban/planka.git
synced 2025-12-29 09:15:04 +03:00
ref: Refactoring
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { currentModalSelector, currentProjectSelector } from '../selectors';
|
||||
import selectors from '../selectors';
|
||||
import Core from '../components/Core';
|
||||
|
||||
const mapStateToProps = (state) => {
|
||||
const currentModal = currentModalSelector(state);
|
||||
const currentProject = currentProjectSelector(state);
|
||||
const currentModal = selectors.selectCurrentModal(state);
|
||||
const currentProject = selectors.selectCurrentProject(state);
|
||||
|
||||
return {
|
||||
currentModal,
|
||||
|
||||
Reference in New Issue
Block a user