You can not 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
345 B
15 lines
345 B
import { connect } from 'react-redux'
|
|
|
|
import { getMenuCollapsed, getFetching } from 'src/selectors'
|
|
import { AppState } from 'src/types'
|
|
|
|
import App from './app'
|
|
|
|
const mapStateToProps = (state: AppState) => ({
|
|
menuCollapsed: getMenuCollapsed(state),
|
|
fetching: getFetching(state),
|
|
})
|
|
|
|
export default connect(
|
|
mapStateToProps
|
|
)(App)
|