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.
16 lines
424 B
JavaScript
16 lines
424 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,
|
|
isSocketDisconnected: state.socket.isDisconnected,
|
|
};
|
|
};
|
|
|
|
export default connect(mapStateToProps)(CoreWrapper);
|