summaryrefslogtreecommitdiff
path: root/frontend/src/containers/app/sidebars/topology/machine/UnitTabsContainer.js
blob: 3490cce681166f39cf24575e2c67a04ac10ae9ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { connect } from 'react-redux'
import UnitTabsComponent from '../../../../../components/app/sidebars/topology/machine/UnitTabsComponent'

const mapStateToProps = state => {
    return {
        inSimulation: state.currentExperimentId !== -1,
    }
}

const UnitTabsContainer = connect(mapStateToProps)(UnitTabsComponent)

export default UnitTabsContainer