From 0252870c705fb35d7b32f92abfd8126691df925d Mon Sep 17 00:00:00 2001 From: "Claudio Maggioni (maggicl)" Date: Sun, 3 May 2020 18:11:04 +0200 Subject: [PATCH] fixed bug in deviceProps.js --- smart-hut/src/deviceProps.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/smart-hut/src/deviceProps.js b/smart-hut/src/deviceProps.js index 9f5f4ae..efdb6ae 100644 --- a/smart-hut/src/deviceProps.js +++ b/smart-hut/src/deviceProps.js @@ -43,7 +43,9 @@ export default function mapStateToProps(state, ownProps) { get device() { return getDevice(state, ownProps); }, - get roomName() {}, + get roomName() { + return getRoomName(state, ownProps); + }, get type() { return getDevice(state, ownProps).kind; },