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