From bf7708f658cc6299a3b775afe24459b5a808c54d Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Fri, 22 Sep 2017 21:20:54 +0200 Subject: Restructure component and container directories --- .../topology/room/RackConstructionContainer.js | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/containers/sidebars/topology/room/RackConstructionContainer.js (limited to 'src/containers/sidebars/topology/room/RackConstructionContainer.js') diff --git a/src/containers/sidebars/topology/room/RackConstructionContainer.js b/src/containers/sidebars/topology/room/RackConstructionContainer.js deleted file mode 100644 index 0c539c75..00000000 --- a/src/containers/sidebars/topology/room/RackConstructionContainer.js +++ /dev/null @@ -1,23 +0,0 @@ -import {connect} from "react-redux"; -import {startRackConstruction, stopRackConstruction} from "../../../../actions/topology/room"; -import RackConstructionComponent from "../../../../components/sidebars/topology/room/RackConstructionComponent"; - -const mapStateToProps = state => { - return { - inRackConstructionMode: state.construction.inRackConstructionMode, - }; -}; - -const mapDispatchToProps = dispatch => { - return { - onStart: () => dispatch(startRackConstruction()), - onStop: () => dispatch(stopRackConstruction()), - }; -}; - -const RackConstructionContainer = connect( - mapStateToProps, - mapDispatchToProps -)(RackConstructionComponent); - -export default RackConstructionContainer; -- cgit v1.2.3