summaryrefslogtreecommitdiff
path: root/src/containers/sidebars/topology/rack/EmptySlotContainer.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-22 21:20:54 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:06:18 +0200
commitbf7708f658cc6299a3b775afe24459b5a808c54d (patch)
tree227520267968759e2a2f1e29e6f3edfeb4e3cf8a /src/containers/sidebars/topology/rack/EmptySlotContainer.js
parente722cf117d0e3ebac20237f96764fb08cab49a62 (diff)
Restructure component and container directories
Diffstat (limited to 'src/containers/sidebars/topology/rack/EmptySlotContainer.js')
-rw-r--r--src/containers/sidebars/topology/rack/EmptySlotContainer.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/containers/sidebars/topology/rack/EmptySlotContainer.js b/src/containers/sidebars/topology/rack/EmptySlotContainer.js
deleted file mode 100644
index aa0673d1..00000000
--- a/src/containers/sidebars/topology/rack/EmptySlotContainer.js
+++ /dev/null
@@ -1,22 +0,0 @@
-import {connect} from "react-redux";
-import {addMachine} from "../../../../actions/topology/rack";
-import EmptySlotComponent from "../../../../components/sidebars/topology/rack/EmptySlotComponent";
-
-const mapStateToProps = state => {
- return {
- inSimulation: state.currentExperimentId !== -1
- };
-};
-
-const mapDispatchToProps = (dispatch, ownProps) => {
- return {
- onAdd: () => dispatch(addMachine(ownProps.position)),
- };
-};
-
-const EmptySlotContainer = connect(
- mapStateToProps,
- mapDispatchToProps
-)(EmptySlotComponent);
-
-export default EmptySlotContainer;