From de8f12d74faef5fa3f9e38d1340948cab2d06ea3 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Wed, 1 Jul 2020 13:33:31 +0200 Subject: Manually generate IDs --- .../topology/room/RackConstructionComponent.js | 56 +++++++++++----------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'frontend/src/components/app/sidebars/topology/room/RackConstructionComponent.js') diff --git a/frontend/src/components/app/sidebars/topology/room/RackConstructionComponent.js b/frontend/src/components/app/sidebars/topology/room/RackConstructionComponent.js index 06b8a2aa..42b7357b 100644 --- a/frontend/src/components/app/sidebars/topology/room/RackConstructionComponent.js +++ b/frontend/src/components/app/sidebars/topology/room/RackConstructionComponent.js @@ -1,32 +1,32 @@ -import classNames from "classnames"; -import React from "react"; +import classNames from 'classnames' +import React from 'react' const RackConstructionComponent = ({ - onStart, - onStop, - inRackConstructionMode, - isEditingRoom -}) => { - if (inRackConstructionMode) { - return ( -
- - Stop rack construction -
- ); - } + onStart, + onStop, + inRackConstructionMode, + isEditingRoom, + }) => { + if (inRackConstructionMode) { + return ( +
+ + Stop rack construction +
+ ) + } - return ( -
(isEditingRoom ? undefined : onStart())} - > - - Start rack construction -
- ); -}; + return ( +
(isEditingRoom ? undefined : onStart())} + > + + Start rack construction +
+ ) +} -export default RackConstructionComponent; +export default RackConstructionComponent -- cgit v1.2.3