summaryrefslogtreecommitdiff
path: root/src/reducers/construction.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-07 22:15:17 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:05:58 +0200
commit1b5d2658f9ec06308b2a5ed062f6f5b4798ed733 (patch)
tree84d35684a50f897fc4c5f460bed595adf22c9e66 /src/reducers/construction.js
parent8218c3d3c21bfa7c4f3ee4872722b9b1261576fb (diff)
Reorganize actions and state tree
Diffstat (limited to 'src/reducers/construction.js')
-rw-r--r--src/reducers/construction.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/reducers/construction.js b/src/reducers/construction.js
index 772135ff..3e0b7542 100644
--- a/src/reducers/construction.js
+++ b/src/reducers/construction.js
@@ -2,10 +2,9 @@ import {combineReducers} from "redux";
import {
CANCEL_NEW_ROOM_CONSTRUCTION_SUCCEEDED,
FINISH_NEW_ROOM_CONSTRUCTION,
- START_NEW_ROOM_CONSTRUCTION_SUCCEEDED,
- START_RACK_CONSTRUCTION,
- STOP_RACK_CONSTRUCTION
-} from "../actions/topology";
+ START_NEW_ROOM_CONSTRUCTION_SUCCEEDED
+} from "../actions/topology/building";
+import {START_RACK_CONSTRUCTION, STOP_RACK_CONSTRUCTION} from "../actions/topology/room";
export function currentRoomInConstruction(state = -1, action) {
switch (action.type) {