mirror of
https://github.com/plankanban/planka.git
synced 2025-07-20 13:49:43 +02:00
15 lines
369 B
JavaScript
15 lines
369 B
JavaScript
|
import { connect } from 'react-redux';
|
||
|
|
||
|
import { isCoreInitializingSelector } from '../selectors';
|
||
|
import CoreWrapper from '../components/CoreWrapper';
|
||
|
|
||
|
const mapStateToProps = (state) => {
|
||
|
const isCoreInitializing = isCoreInitializingSelector(state);
|
||
|
|
||
|
return {
|
||
|
isInitializing: isCoreInitializing,
|
||
|
};
|
||
|
};
|
||
|
|
||
|
export default connect(mapStateToProps)(CoreWrapper);
|