You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
332 B
JavaScript
15 lines
332 B
JavaScript
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);
|