From 1b5d2658f9ec06308b2a5ed062f6f5b4798ed733 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Thu, 7 Sep 2017 22:15:17 +0200 Subject: Reorganize actions and state tree --- src/reducers/construction.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/reducers/construction.js') 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) { -- cgit v1.2.3