diff --git a/front/src/components/boxs/room-humidity/RoomHumidity.jsx b/front/src/components/boxs/room-humidity/RoomHumidity.jsx index 08602c9e09..1acdab102a 100644 --- a/front/src/components/boxs/room-humidity/RoomHumidity.jsx +++ b/front/src/components/boxs/room-humidity/RoomHumidity.jsx @@ -30,7 +30,7 @@ const RoomHumidityBox = ({ children, ...props }) => ( )} {!isNotNullOrUndefined(props.humidity) && ( - + )} diff --git a/front/src/components/boxs/room-temperature/EditRoomTemperatureBox.jsx b/front/src/components/boxs/room-temperature/EditRoomTemperatureBox.jsx index 166825238a..f327e7a7aa 100644 --- a/front/src/components/boxs/room-temperature/EditRoomTemperatureBox.jsx +++ b/front/src/components/boxs/room-temperature/EditRoomTemperatureBox.jsx @@ -1,6 +1,6 @@ import { Component } from 'preact'; import { connect } from 'unistore/preact'; -import { Localizer, Text } from 'preact-i18n'; +import { Text } from 'preact-i18n'; import BaseEditBox from '../baseEditBox'; import ReactSlider from 'react-slider'; diff --git a/front/src/components/boxs/room-temperature/RoomTemperature.jsx b/front/src/components/boxs/room-temperature/RoomTemperature.jsx index 38fc997f16..5dd7a79365 100644 --- a/front/src/components/boxs/room-temperature/RoomTemperature.jsx +++ b/front/src/components/boxs/room-temperature/RoomTemperature.jsx @@ -5,11 +5,7 @@ import get from 'get-value'; import actions from '../../../actions/dashboard/boxes/temperatureInRoom'; import { DASHBOARD_BOX_STATUS_KEY, DASHBOARD_BOX_DATA_KEY } from '../../../utils/consts'; -import { - DEFAULT_VALUE_HUMIDITY, - DEFAULT_VALUE_TEMPERATURE, - WEBSOCKET_MESSAGE_TYPES -} from '../../../../../server/utils/constants'; +import { DEFAULT_VALUE_TEMPERATURE, WEBSOCKET_MESSAGE_TYPES } from '../../../../../server/utils/constants'; const isNotNullOrUndefined = value => value !== undefined && value !== null; @@ -34,7 +30,7 @@ const RoomTemperatureBox = ({ children, ...props }) => ( )} {!isNotNullOrUndefined(props.temperature) && ( - + )}