mirror of
https://github.com/plankanban/planka.git
synced 2025-12-27 09:14:59 +03:00
ref: Refactoring
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { currentBoardSelector, pathSelector } from '../selectors';
|
||||
import selectors from '../selectors';
|
||||
import Fixed from '../components/Fixed';
|
||||
|
||||
const mapStateToProps = (state) => {
|
||||
const { projectId } = pathSelector(state);
|
||||
const currentBoard = currentBoardSelector(state);
|
||||
const { projectId } = selectors.selectPath(state);
|
||||
const currentBoard = selectors.selectCurrentBoard(state);
|
||||
|
||||
return {
|
||||
projectId,
|
||||
|
||||
Reference in New Issue
Block a user