From 751a9ef3a12c952fe179f256d854d0c4aa37e28e Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Wed, 4 Oct 2017 22:49:07 +0200 Subject: Apply prettier to codebase --- .../app/sidebars/topology/room/RoomSidebarContainer.js | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'src/containers/app/sidebars/topology/room/RoomSidebarContainer.js') diff --git a/src/containers/app/sidebars/topology/room/RoomSidebarContainer.js b/src/containers/app/sidebars/topology/room/RoomSidebarContainer.js index 6371e6a1..38d5fb80 100644 --- a/src/containers/app/sidebars/topology/room/RoomSidebarContainer.js +++ b/src/containers/app/sidebars/topology/room/RoomSidebarContainer.js @@ -1,16 +1,14 @@ -import {connect} from "react-redux"; +import { connect } from "react-redux"; import RoomSidebarComponent from "../../../../../components/app/sidebars/topology/room/RoomSidebarComponent"; const mapStateToProps = state => { - return { - roomId: state.interactionLevel.roomId, - roomType: state.objects.room[state.interactionLevel.roomId].roomType, - inSimulation: state.currentExperimentId !== -1, - }; + return { + roomId: state.interactionLevel.roomId, + roomType: state.objects.room[state.interactionLevel.roomId].roomType, + inSimulation: state.currentExperimentId !== -1 + }; }; -const RoomSidebarContainer = connect( - mapStateToProps -)(RoomSidebarComponent); +const RoomSidebarContainer = connect(mapStateToProps)(RoomSidebarComponent); export default RoomSidebarContainer; -- cgit v1.2.3