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/building/BuildingSidebarComponent.js | 16 ------------- .../building/NewRoomConstructionComponent.js | 27 ---------------------- 2 files changed, 43 deletions(-) delete mode 100644 src/components/sidebars/topology/building/BuildingSidebarComponent.js delete mode 100644 src/components/sidebars/topology/building/NewRoomConstructionComponent.js (limited to 'src/components/sidebars/topology/building') diff --git a/src/components/sidebars/topology/building/BuildingSidebarComponent.js b/src/components/sidebars/topology/building/BuildingSidebarComponent.js deleted file mode 100644 index 835943f2..00000000 --- a/src/components/sidebars/topology/building/BuildingSidebarComponent.js +++ /dev/null @@ -1,16 +0,0 @@ -import React from "react"; -import NewRoomConstructionContainer from "../../../../containers/sidebars/topology/building/NewRoomConstructionContainer"; - -const BuildingSidebarComponent = ({inSimulation}) => { - return ( -
-

Building

- {inSimulation ? - undefined : - - } -
- ); -}; - -export default BuildingSidebarComponent; diff --git a/src/components/sidebars/topology/building/NewRoomConstructionComponent.js b/src/components/sidebars/topology/building/NewRoomConstructionComponent.js deleted file mode 100644 index d89b0ac0..00000000 --- a/src/components/sidebars/topology/building/NewRoomConstructionComponent.js +++ /dev/null @@ -1,27 +0,0 @@ -import React from "react"; - -const NewRoomConstructionComponent = ({onStart, onFinish, onCancel, currentRoomInConstruction}) => { - if (currentRoomInConstruction === -1) { - return ( -
- - Construct a new room -
- ); - } - return ( -
-
- - Finalize new room -
-
- - Cancel construction -
-
- ); - -}; - -export default NewRoomConstructionComponent; -- cgit v1.2.3