From e5f17986197d7a73ba83b4793449b51147d5d99d Mon Sep 17 00:00:00 2001 From: duckietm Date: Thu, 5 Mar 2026 14:35:31 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=86=99=20Oepsie=20made=20it=20always=20ni?= =?UTF-8?q?ght=20:)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/hotel-view/HotelView.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/hotel-view/HotelView.tsx b/src/components/hotel-view/HotelView.tsx index 0c0f882..efd3774 100644 --- a/src/components/hotel-view/HotelView.tsx +++ b/src/components/hotel-view/HotelView.tsx @@ -1,4 +1,4 @@ -import { FC, useEffect, useRef } from 'react'; +import { FC, useEffect, useMemo, useRef, useState } from 'react'; import { GetConfigurationValue } from '../../api'; import { RoomWidgetView } from './RoomWidgetView'; @@ -58,18 +58,18 @@ export const HotelView: FC<{}> = props => const timezone = GetConfigurationValue('timezone.settings', ''); -/** const timeOfDay = useMemo(() => { const hour = getHourInTimezone(timezone); return getTimeOfDay(hour); }, [ timezone ]); + + /** + const timeOfDay = 'sunset'; + For debuging the diff views */ - const timeOfDay = 'night'; - - const skyColor = SKY_COLORS[timeOfDay] ?? configBgColor ?? '#000'; const containerRef = useRef(null);