blob: 89382ef0df76552f7610e6fef7c6579e689521ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { connect } from 'react-redux'
import RackSidebarComponent from '../../../../../components/app/sidebars/topology/rack/RackSidebarComponent'
const mapStateToProps = state => {
return {
rackId: state.objects.tile[state.interactionLevel.tileId].objectId,
inSimulation: state.currentExperimentId !== -1,
}
}
const RackSidebarContainer = connect(mapStateToProps)(RackSidebarComponent)
export default RackSidebarContainer
|