mirror of
https://github.com/plankanban/planka.git
synced 2025-07-23 07:09:44 +02:00
15 lines
362 B
JavaScript
15 lines
362 B
JavaScript
|
import { connect } from 'react-redux';
|
||
|
|
||
|
import { isAppInitializingSelector } from '../selectors';
|
||
|
import AppWrapper from '../components/AppWrapper';
|
||
|
|
||
|
const mapStateToProps = (state) => {
|
||
|
const isAppInitializing = isAppInitializingSelector(state);
|
||
|
|
||
|
return {
|
||
|
isInitializing: isAppInitializing,
|
||
|
};
|
||
|
};
|
||
|
|
||
|
export default connect(mapStateToProps)(AppWrapper);
|