mirror of
https://github.com/plankanban/planka.git
synced 2025-12-25 01:11:49 +03:00
16 lines
341 B
JavaScript
Executable File
16 lines
341 B
JavaScript
Executable File
import { connect } from 'react-redux';
|
|
|
|
import selectors from '../selectors';
|
|
import BoardWrapper from '../components/BoardWrapper';
|
|
|
|
const mapStateToProps = (state) => {
|
|
const { type, isFetching } = selectors.selectCurrentBoard(state);
|
|
|
|
return {
|
|
type,
|
|
isFetching,
|
|
};
|
|
};
|
|
|
|
export default connect(mapStateToProps)(BoardWrapper);
|