summaryrefslogtreecommitdiff
path: root/frontend/src/containers/app/sidebars/topology/room/BackToBuildingContainer.js
blob: bf4ecbb593f8e557aa2d7dfccb4e8ee73e354739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { connect } from 'react-redux'
import { goDownOneInteractionLevel } from '../../../../../actions/interaction-level'
import BackToBuildingComponent from '../../../../../components/app/sidebars/topology/room/BackToBuildingComponent'

const mapDispatchToProps = dispatch => {
    return {
        onClick: () => dispatch(goDownOneInteractionLevel()),
    }
}

const BackToBuildingContainer = connect(undefined, mapDispatchToProps)(
    BackToBuildingComponent,
)

export default BackToBuildingContainer