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,10 +1,10 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { currentBoardSelector } from '../selectors';
|
||||
import selectors from '../selectors';
|
||||
import BoardWrapper from '../components/BoardWrapper';
|
||||
|
||||
const mapStateToProps = (state) => {
|
||||
const { type, isFetching } = currentBoardSelector(state);
|
||||
const { type, isFetching } = selectors.selectCurrentBoard(state);
|
||||
|
||||
return {
|
||||
type,
|
||||
|
||||
Reference in New Issue
Block a user