Project managers, board members, auto-update after reconnection, refactoring
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { pathSelector } from '../selectors';
|
||||
import { currentBoardSelector, pathSelector } from '../selectors';
|
||||
import Fixed from '../components/Fixed';
|
||||
|
||||
const mapStateToProps = (state) => {
|
||||
const { projectId } = pathSelector(state);
|
||||
const currentBoard = currentBoardSelector(state);
|
||||
|
||||
return {
|
||||
projectId,
|
||||
board: currentBoard,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user